index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2009-05-16 13:48:10 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2009-05-16 13:48:10 +1000 |
commit | 250e66e57b6a187b5643ea6db088552e4efef488 (patch) | |
tree | 9f5ce51dda82aeb27149894499ea1ccc59be4750 /scripts | |
parent | 5e32928a42366fd3df27ffe108b44fcfe35617dd (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 5 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index fefcc73a..f94f925e 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1527,6 +1527,7 @@ if [ ! -f "$BUILDSCRIPT" ]; then else # PKGBUILD passed through a pipe BUILDSCRIPT=/dev/stdin + source "$BUILDSCRIPT" fi else crlftest=$(file $BUILDSCRIPT | grep -F 'CRLF' || true) @@ -1534,9 +1535,9 @@ else error "$(gettext "%s contains CRLF characters and cannot be sourced.")" "$BUILDSCRIPT" exit 1 fi -fi -source "$BUILDSCRIPT" + source ./"$BUILDSCRIPT" +fi if [ "$GENINTEG" -eq 1 ]; then mkdir -p "$srcdir" |