summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-10 19:36:00 -0400
committerDan McGee <dan@archlinux.org>2011-07-14 15:44:48 -0500
commit727e03fe198e58e53434ad445e6156f06daf5e94 (patch)
tree34da121dab3888d8f0421f871149a515bac783c2 /scripts/makepkg.sh.in
parent282be6bf4b87678d3b634a5bc6a8a1c097e593ea (diff)
downloadpacman-727e03fe198e58e53434ad445e6156f06daf5e94.tar.xz
makepkg: skip devel_check when reading from a pipe
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index df4e08e6..546e1e77 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1535,8 +1535,8 @@ devel_check() {
# Do not update pkgver if --holdver is set, when building a source package, repackaging,
# reading PKGBUILD from pipe (-f), or if we cannot write to the file (-w)
- if (( HOLDVER || SOURCEONLY || REPKG )) \
- || [[ ! -f $BUILDFILE || ! -w $BUILDFILE ]]; then
+ if (( HOLDVER || SOURCEONLY || REPKG )) ||
+ [[ ! -f $BUILDFILE || ! -w $BUILDFILE || $BUILDFILE = /dev/stdin ]]; then
return
fi