From f58536ff836baa46177247372e182950126add51 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich <jow@openwrt.org> Date: Tue, 22 Sep 2009 15:07:12 +0000 Subject: [PATCH] use mktemp instead of tempfile in combined-image.sh to make it work on OS X SVN-Revision: 17674 --- scripts/combined-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/combined-image.sh b/scripts/combined-image.sh index eecd3d7f20d..30373e7566d 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