diff --git a/patching/scripts/create-patches.sh b/patching/scripts/create-patches.sh index 6f7a4c7d..5faf79f9 100755 --- a/patching/scripts/create-patches.sh +++ b/patching/scripts/create-patches.sh @@ -1,5 +1,7 @@ #!/bin/bash -ex +shopt -s nullglob + mkdir -p patches work for f in work/* diff --git a/patching/scripts/create-tarballs.sh b/patching/scripts/create-tarballs.sh index 2e7a0e7d..97191aec 100755 --- a/patching/scripts/create-tarballs.sh +++ b/patching/scripts/create-tarballs.sh @@ -1,5 +1,7 @@ #!/bin/bash -ex +shopt -s nullglob + mkdir -p tarballs for f in patches/*