1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-01 09:51:50 -05:00

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:
Dave Reisner 2011-07-10 19:36:00 -04:00 committed by Dan McGee
parent 282be6bf4b
commit 727e03fe19

View File

@ -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