diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-29 08:01:21 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-29 08:01:21 +0200 |
commit | dec0e90492edd2b588d72be50dc5666520ba817e (patch) | |
tree | 1489b6af5952452664971c0dc0176f7ec41740f8 | |
parent | 2c88877b36b6e048a0688417d83ac09d21d23cd2 (diff) | |
download | archlinuxewe-dec0e90492edd2b588d72be50dc5666520ba817e.tar.xz |
bumpVersion: do not reset if run from tty
-rwxr-xr-x | bumpVersion | 2 |
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 |