aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/combined-image.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-09-22 15:07:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-09-22 15:07:12 +0000
commitf58536ff836baa46177247372e182950126add51 (patch)
treeb457530bafa55a4a5ea1791dbce4d1b1d4d44e50 /scripts/combined-image.sh
parent6478e24f7d81c9659b72c0700e0272a381316197 (diff)
downloadupstream-f58536ff836baa46177247372e182950126add51.tar.gz
upstream-f58536ff836baa46177247372e182950126add51.tar.bz2
upstream-f58536ff836baa46177247372e182950126add51.zip
use mktemp instead of tempfile in combined-image.sh to make it work on OS X
SVN-Revision: 17674
Diffstat (limited to 'scripts/combined-image.sh')
-rw-r--r--scripts/combined-image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/combined-image.sh b/scripts/combined-image.sh
index eecd3d7f20..30373e7566 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