comparison sources/sections/busybox.build @ 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 41fdac77a907
children 313c702a0984
comparison
equal deleted inserted replaced
1196:1cdd44f2bac2 1197:8b1017be9de8
14 14
15 cp busybox${SKIP_STRIP:+_unstripped} "$INSTDIR/busybox" || dienow 15 cp busybox${SKIP_STRIP:+_unstripped} "$INSTDIR/busybox" || dienow
16 16
17 for i in $(sed 's@.*/@@' busybox.links) 17 for i in $(sed 's@.*/@@' busybox.links)
18 do 18 do
19 # is_in_list can't handle [ and [[ filenames, they're an unterminated regex.
20 [ "$i" != "[" ] && [ "$i" != "[[" ] &&
19 # Still using toybox patch, and busybox mke2fs/tune2fs don't support -j 21 # Still using toybox patch, and busybox mke2fs/tune2fs don't support -j
20 is_in_list $i patch,tune2fs,mke2fs && continue 22 is_in_list $i patch,tune2fs,mke2fs && continue
21 [ ! -f "$INSTDIR/$i" ] && (ln -sf busybox "$INSTDIR/$i" || dienow) 23 [ ! -f "$INSTDIR/$i" ] && (ln -sf busybox "$INSTDIR/$i" || dienow)
22 done 24 done