[8.09] merge r17674
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 22 Sep 2009 15:08:13 +0000 (15:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 22 Sep 2009 15:08:13 +0000 (15:08 +0000)
SVN-Revision: 17675

scripts/combined-image.sh

index eecd3d7..30373e7 100644 (file)
@@ -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