From: Jo-Philipp Wich Date: Tue, 22 Sep 2009 15:07:12 +0000 (+0000) Subject: [scripts] use mktemp instead of tempfile in combined-image.sh to make it work on... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=69b8077d1db37532a8803f48349e16f669c42fc5 [scripts] use mktemp instead of tempfile in combined-image.sh to make it work on OS X SVN-Revision: 17674 --- 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