wok-current diff busybox-pam/receipt @ rev 5749
busybox: ensure mod is 4755 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 02 17:01:04 2010 +0200 (2010-07-02) |
parents | 609498d2778d |
children | 74d790665d71 |
line diff
1.1 --- a/busybox-pam/receipt Fri Jul 02 12:30:41 2010 +0200 1.2 +++ b/busybox-pam/receipt Fri Jul 02 17:01:04 2010 +0200 1.3 @@ -49,7 +49,6 @@ 1.4 genpkg_rules() 1.5 { 1.6 cp -a $src/_install/* $fs 1.7 - chmod 4755 $fs/bin/busybox 1.8 rm -f $fs/sbin/depmod $fs/usr/bin/ar 1.9 cp -a stuff/etc $fs 1.10 mkdir -p $fs/etc/init.d 1.11 @@ -98,7 +97,7 @@ 1.12 fi 1.13 answer="" 1.14 while read i ; do 1.15 - [ -e $ROOT$i ] || continue 1.16 + [ -e $1$i ] || continue 1.17 if [ -z "$answer" ]; then 1.18 echo -n "Keep installed GNU utilities ? " 1.19 read answer 1.20 @@ -107,7 +106,7 @@ 1.21 *) break;; 1.22 esac 1.23 fi 1.24 - mv $ROOT$i $ROOT$i-busybox-install 1.25 + mv $1$i $1$i-busybox-install 1.26 done < $1$INSTALLED/$PACKAGE/files.list 1.27 } 1.28 1.29 @@ -116,7 +115,8 @@ 1.30 local i 1.31 mv -f /etc/resolv.conf-busybox-install /etc/resolv.conf 1.32 while read i ; do 1.33 - [ -e $ROOT$i-busybox-install ] || continue 1.34 - mv $ROOT$i-busybox-install $ROOT$i 1.35 + [ -e $1$i-busybox-install ] || continue 1.36 + mv $1$i-busybox-install $1$i 1.37 done < $1$INSTALLED/$PACKAGE/files.list 1.38 + chmod 4755 $1/bin/busybox 1.39 }