index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-01-16 12:43:20 -0600 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-01-23 16:11:38 -0600 |
commit | 484d36e931666cd149212abc00fafd8f55b79c32 (patch) | |
tree | fa02ec37cfec4dd35baeafb97a9099d470cec0e4 /makechrootpkg | |
parent | a0ccba56221122e259ed27d84080759d64a02cf3 (diff) |
-rwxr-xr-x | makechrootpkg | 5 |
diff --git a/makechrootpkg b/makechrootpkg index 425fbb9..120e70a 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -151,8 +151,9 @@ chown -R nobody "$uniondir/build" source PKGBUILD cp PKGBUILD "$uniondir/build/" for f in ${source[@]}; do - if [ -f "$f" ]; then - cp "$f" "$uniondir/build/" + basef=$(basename $f) + if [ -f "$basef" ]; then + cp "$basef" "$uniondir/build/" fi done if [ "$install" != "" -a -f "$install" ]; then |