Skip to content

Commit 4d9e859

Browse files
committed
update genPatches.sh
1 parent 406207a commit 4d9e859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/genPatches.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
cd work/ || exit 1
4-
rm ../patches/*/*
4+
(cd ..&&rm -rf patches/*)
55
git format-patch --full-index --no-signature --zero-commit -N -o ../patches/picked base...picked
66
git format-patch --full-index --no-signature --zero-commit -N -o ../patches/client picked
7-
cd ../ && git add patches/
7+
(cd .. && git add patches)

0 commit comments

Comments
 (0)