diff --git a/scripts/genPatches.sh b/scripts/genPatches.sh index acf5c988a1dc..8f1835c85096 100755 --- a/scripts/genPatches.sh +++ b/scripts/genPatches.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash cd work/ || exit 1 -rm ../patches/*/* +(cd ..&&rm -rf patches/*) git format-patch --full-index --no-signature --zero-commit -N -o ../patches/picked base...picked git format-patch --full-index --no-signature --zero-commit -N -o ../patches/client picked -cd ../ && git add patches/ \ No newline at end of file +(cd .. && git add patches) \ No newline at end of file