diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-22 15:07:12 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-22 15:07:12 +0000 |
commit | f58536ff836baa46177247372e182950126add51 (patch) | |
tree | b457530bafa55a4a5ea1791dbce4d1b1d4d44e50 | |
parent | 6478e24f7d81c9659b72c0700e0272a381316197 (diff) | |
download | mtk-20170518-f58536ff836baa46177247372e182950126add51.zip mtk-20170518-f58536ff836baa46177247372e182950126add51.tar.gz mtk-20170518-f58536ff836baa46177247372e182950126add51.tar.bz2 |
use mktemp instead of tempfile in combined-image.sh to make it work on OS X
SVN-Revision: 17674
-rw-r--r-- | scripts/combined-image.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/combined-image.sh b/scripts/combined-image.sh index eecd3d7..30373e7 100644 --- a/scripts/combined-image.sh +++ b/scripts/combined-image.sh @@ -8,8 +8,8 @@ BLKSZ=65536 } # Make sure provided images are 64k aligned. -kern=$(tempfile) -root=$(tempfile) +kern=$(mktemp) +root=$(mktemp) dd if="$1" of="$kern" bs=$BLKSZ conv=sync 2>/dev/null dd if="$2" of="$root" bs=$BLKSZ conv=sync 2>/dev/null |