|
From: <abe...@us...> - 2015-12-16 13:06:07
|
Revision: 7410
http://sourceforge.net/p/astlinux/code/7410
Author: abelbeck
Date: 2015-12-16 13:06:04 +0000 (Wed, 16 Dec 2015)
Log Message:
-----------
astlinux-makeimage, fix for bash 4.3, fortunately backward compatible
Modified Paths:
--------------
branches/1.0/scripts/astlinux-makeimage
Modified: branches/1.0/scripts/astlinux-makeimage
===================================================================
--- branches/1.0/scripts/astlinux-makeimage 2015-12-16 03:58:25 UTC (rev 7409)
+++ branches/1.0/scripts/astlinux-makeimage 2015-12-16 13:06:04 UTC (rev 7410)
@@ -169,7 +169,7 @@
temp="${LOOPD}0"
PREFIXLEN=${#temp}
-PREFIX="^${temp//\//\/}"
+PREFIX="^${temp//\//\\/}"
# need to filter out bootable marker ('*') so it doesn't show up as $2
eval $(sudo $HOST_BIN/fdisk -c=dos -u=sectors -l ${LOOPD}0 | tr '*' ' ' | awk "/${PREFIX}/ { printf \"%s=%s\\n\", substr(\$1, $PREFIXLEN+1), \$2; }")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|