diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-09-28 18:37:56 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-09-28 18:40:01 +0200 |
commit | 1047b426ed7ab0ee7a1b3ecf01adab18eb040de2 (patch) | |
tree | e5901588f10eda1ec15c67fe779040225fda2aec /bin | |
parent | 812ee8c53f9add746f67e4785831ad0d42937942 (diff) |
updater: make sure the target dir exists while writing update info
Change-Id: I6cafdb28468d0023a0a1ea8cc2c051e9b84a1c6c
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update/make_incremental_update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/update/make_incremental_update.sh b/bin/update/make_incremental_update.sh index 661951af0498..e76f2159fe2a 100755 --- a/bin/update/make_incremental_update.sh +++ b/bin/update/make_incremental_update.sh @@ -102,10 +102,10 @@ fi workdir="$newdir.work" updatemanifestv2="$workdir/updatev2.manifest" updatemanifestv3="$workdir/updatev3.manifest" -echo "updatev2.manifest" >> $workdir/files.txt -echo "updatev3.manifest" >> $workdir/files.txt mkdir -p "$workdir" +echo "updatev2.manifest" >> $workdir/files.txt +echo "updatev3.manifest" >> $workdir/files.txt # Generate a list of all files in the target directory. pushd "$olddir" |