wok-current rev 4207
smbclient: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 09:44:25 2009 +0200 (2009-09-24) |
parents | 4058bedceb3a |
children | a44ae688ff17 |
files | smbclient/receipt |
line diff
1.1 --- a/smbclient/receipt Thu Sep 24 09:35:41 2009 +0200 1.2 +++ b/smbclient/receipt Thu Sep 24 09:44:25 2009 +0200 1.3 @@ -14,7 +14,7 @@ 1.4 genpkg_rules() 1.5 { 1.6 while read file; do 1.7 - dir=$(dirname $file) 1.8 + dir=${file%/*} 1.9 [ -d $fs$dir ] || mkdir -p $fs$dir 1.10 cp -a $_pkg$file $fs$dir 1.11 done < $src/$PACKAGE.files-list