diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mk-images | 2 | ||||
| -rwxr-xr-x | scripts/scrubtree | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index f50143650..7f6331ffb 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -445,7 +445,7 @@ EOF # make some symlinks ln -sf bash $MBD_DIR/sbin/sh (cd $MBD_DIR/sbin; - set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); + set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\.\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); while [ -n "$1" ]; do if [ $1 != "busybox" -a $1 != "sh" ]; then # if file doesnt already exist, link to busybox diff --git a/scripts/scrubtree b/scripts/scrubtree index af6800d0b..7c43d1541 100755 --- a/scripts/scrubtree +++ b/scripts/scrubtree @@ -47,7 +47,7 @@ rm $p/etc/ld.so.conf # mv $p/usr/sbin/busybox.anaconda $p/usr/bin/busybox (cd $p/usr/bin; -set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); +set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\.\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); dontclobber=(sh busybox reboot shutdown poweroff) while [ -n "$1" ]; do save= |
