changeset 1197:8b1017be9de8

is_in_list doesn't like "[" and "[[", thinks it's an unterminated regex.
author Rob Landley <rob@landley.net>
date Sun, 08 Aug 2010 20:57:58 -0500
parents 1cdd44f2bac2
children 78e786334c5b
files sources/sections/busybox.build
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/busybox.build	Thu Aug 05 13:10:07 2010 -0500
+++ b/sources/sections/busybox.build	Sun Aug 08 20:57:58 2010 -0500
@@ -16,6 +16,8 @@
 
 for i in $(sed 's@.*/@@' busybox.links)
 do
+  # is_in_list can't handle [ and [[ filenames, they're an unterminated regex.
+  [ "$i" != "[" ] && [ "$i" != "[[" ] &&
   # Still using toybox patch, and busybox mke2fs/tune2fs don't support -j
   is_in_list $i patch,tune2fs,mke2fs && continue
   [ ! -f "$INSTDIR/$i" ] && (ln -sf busybox "$INSTDIR/$i" || dienow)