diff options
-rwxr-xr-x | mpackage.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mpackage.sh b/mpackage.sh index 58be2b1..564abff 100755 --- a/mpackage.sh +++ b/mpackage.sh @@ -197,7 +197,9 @@ gen_setup() sed -e 's#@sysroot@#'"$mb_defroot"'#g' \ -e 's#@product@#'"$mb_product"'#g' \ $f > $f.tmp || exit 2 - mv $f.tmp $f || exit 2 + + cat $f.tmp > $f || exit 2 + rm $f.tmp || exit 2 done } |