From dec0e90492edd2b588d72be50dc5666520ba817e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 29 Jul 2024 08:01:21 +0200 Subject: bumpVersion: do not reset if run from tty --- bumpVersion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bumpVersion') diff --git a/bumpVersion b/bumpVersion index 39ffa8425..d4b91df16 100755 --- a/bumpVersion +++ b/bumpVersion @@ -222,7 +222,7 @@ sudo pacman -Sy ../addPkgbuildPatch add makepkg -fcsr --noconfirm --asdeps || { err=$? - git checkout PKGBUILD + tty -s || git checkout PKGBUILD exit ${err} } ../addPkgbuildPatch del -- cgit v1.2.3-70-g09d2