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:
parent
282be6bf4b
commit
727e03fe19
@ -1535,8 +1535,8 @@ devel_check() {
|
|||||||
|
|
||||||
# Do not update pkgver if --holdver is set, when building a source package, repackaging,
|
# 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)
|
# reading PKGBUILD from pipe (-f), or if we cannot write to the file (-w)
|
||||||
if (( HOLDVER || SOURCEONLY || REPKG )) \
|
if (( HOLDVER || SOURCEONLY || REPKG )) ||
|
||||||
|| [[ ! -f $BUILDFILE || ! -w $BUILDFILE ]]; then
|
[[ ! -f $BUILDFILE || ! -w $BUILDFILE || $BUILDFILE = /dev/stdin ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user