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>
This commit is contained in:
parent
282be6bf4b
commit
727e03fe19
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue