diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-09 20:26:14 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-09 20:26:14 +0200 |
commit | 652fdbab3d7064be4545b991b87da0ac6dc1b676 (patch) | |
tree | 22289f6987225893fe9844b2d739e48438a47067 /build-all-with-docker | |
parent | 7801f3c3181a344f5adc4d5ae9d5e656a6c4aabf (diff) | |
download | archlinuxewe-652fdbab3d7064be4545b991b87da0ac6dc1b676.tar.xz |
build-all-with-docker: do not blindly "cd"
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-x | build-all-with-docker | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-all-with-docker b/build-all-with-docker index 437ed4529..1ffd03577 100755 --- a/build-all-with-docker +++ b/build-all-with-docker @@ -47,6 +47,10 @@ check_and_commit_package_updates() { | sed 's@^.*/@@' ) ); do + if ! [ -d "$pkg" ]; then + >&2 echo "$pwd is not a directory" + continue + fi cd "$pkg" ../addPkgbuildPatch del [ -n "$(git status --porcelain -- .)" ] \ |