Skip to content

Commit f2c3970

Browse files
committed
Refactor(submit.sh): no parent folder in ZIP
1 parent 72a41ce commit f2c3970

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
alex syntax/Lexer.x -o src/Lexer.hs && \
66
happy syntax/Parser.y -o src/Ast.hs && \
7-
stack install
7+
stack install

submit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ for n in {1..5}; do
1414
cp "problems/pr$n/pr$n.cql" "$folder/pr$n.cql"
1515
done
1616

17-
zip -r "$folder.zip" $folder
18-
mv "$folder.zip" $folder
17+
cd $folder
18+
zip -r "$folder.zip" *

0 commit comments

Comments
 (0)