summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-29 08:01:21 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-29 08:01:21 +0200
commitdec0e90492edd2b588d72be50dc5666520ba817e (patch)
tree1489b6af5952452664971c0dc0176f7ec41740f8
parent2c88877b36b6e048a0688417d83ac09d21d23cd2 (diff)
downloadarchlinuxewe-dec0e90492edd2b588d72be50dc5666520ba817e.tar.xz
bumpVersion: do not reset if run from tty
-rwxr-xr-xbumpVersion2
1 files changed, 1 insertions, 1 deletions
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