diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-13 20:38:57 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-13 20:38:57 +0100 |
commit | 1de5070bb39e56ee9ce381b0cc40752eaed60783 (patch) | |
tree | 7893ebc724363df79548ea4d155e223817815d84 | |
parent | 10241a6d766fcebb3dbc930facb3c1b2c6ab4992 (diff) | |
parent | 42e2f8bfbf1361a891cea6b440071eed78a3d389 (diff) | |
download | pacman-1de5070bb39e56ee9ce381b0cc40752eaed60783.tar.gz pacman-1de5070bb39e56ee9ce381b0cc40752eaed60783.tar.xz |
Merge branch 'maint'
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 5d048d28..085fbb91 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1348,7 +1348,7 @@ create_srcpackage() { while read -r file; do # evaluate any bash variables used eval file=\"$(sed 's/^\(['\''"]\)\(.*\)\1$/\2/' <<< "$file")\" - if [[ ! -f "${srclinks}/${pkgbase}/$file" ]]; then + if [[ $file && ! -f "${srclinks}/${pkgbase}/$file" ]]; then msg2 "$(gettext "Adding %s file (%s)...")" "$i" "${file}" ln -s "${startdir}/$file" "${srclinks}/${pkgbase}/" fi |