index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | RogutÄ—s Sparnuotos <rogutes@googlemail.com> | 2011-06-16 11:40:40 +0300 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-18 10:28:19 -0500 |
commit | 3a04267cdd0b1324c8153c813e9bc5726b005670 (patch) | |
tree | 97288f13cfb080b6fd22635d204a37b24e991a71 /scripts/makepkg.sh.in | |
parent | 65847fad44216e290986b40b404701432c17ff5a (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 14479f8a..ef70a496 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1877,7 +1877,7 @@ pkgdir="$BUILDDIR/pkg" PKGDEST=${_PKGDEST:-$PKGDEST} PKGDEST=${PKGDEST:-$startdir} #default to $startdir if undefined -if [[ ! -w $PKGDEST ]]; then +if (( ! (NOBUILD || GENINTEG) )) && [[ ! -w $PKGDEST ]]; then error "$(gettext "You do not have write permission to store packages in %s.")" "$PKGDEST" plain "$(gettext "Aborting...")" exit 1 |