diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-10 19:36:00 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-14 15:44:48 -0500 |
commit | 727e03fe198e58e53434ad445e6156f06daf5e94 (patch) | |
tree | 34da121dab3888d8f0421f871149a515bac783c2 /scripts | |
parent | 282be6bf4b87678d3b634a5bc6a8a1c097e593ea (diff) |
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')
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
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 |