mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
use mktemp instead of tempfile in combined-image.sh to make it work on OS X
SVN-Revision: 17674
This commit is contained in:
parent
6478e24f7d
commit
f58536ff83
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user