From 727e03fe198e58e53434ad445e6156f06daf5e94 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 10 Jul 2011 19:36:00 -0400 Subject: makepkg: skip devel_check when reading from a pipe Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2