summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/resync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/resync.sh')
-rwxr-xr-xapps/plugins/puzzles/resync.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/resync.sh b/apps/plugins/puzzles/resync.sh
index 76679971a4..384fc79d1f 100755
--- a/apps/plugins/puzzles/resync.sh
+++ b/apps/plugins/puzzles/resync.sh
@@ -19,7 +19,7 @@ then
19fi 19fi
20 20
21echo "=== POTENTIALLY DANGEROUS OPERATION ===" 21echo "=== POTENTIALLY DANGEROUS OPERATION ==="
22echo "Are you sure you want to remove all files in src/?" 22echo "Are you sure you want to remove all files in src/ and help/?"
23echo -n "If so, type \"yes\" in all caps: " 23echo -n "If so, type \"yes\" in all caps: "
24read ans 24read ans
25if [ "YES" == $ans ] 25if [ "YES" == $ans ]
@@ -30,8 +30,9 @@ then
30 rm -rf src 30 rm -rf src
31 echo "[2/5] Copying new sources" 31 echo "[2/5] Copying new sources"
32 mkdir src 32 mkdir src
33 cp -r "$1"/{*.c,*.h,*.R,*.but,LICENCE,README} src 33 cp -r "$1"/{*.c,*.h,*.but,LICENCE,README,CMakeLists.txt} src
34 echo "[3/5] Regenerating help" 34 echo "[3/5] Regenerating help"
35 rm -rf help
35 ./genhelp.sh 36 ./genhelp.sh
36 37
37 echo "[4/5] Staging for commit" 38 echo "[4/5] Staging for commit"