Skip to content

Commit 591e9b1

Browse files
authored
Remove the usage of 7z -r (#22) - closes #21
1 parent 4fb9e4f commit 591e9b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ then
1616
then
1717
if [ -z "$INPUT_EXCLUSIONS" ]
1818
then
19-
7z a -tzip -r $INPUT_FILENAME $INPUT_PATH || { printf "\n⛔ Unable to create %s archive.\n" "$INPUT_TYPE"; exit 1; }
19+
7z a -tzip $INPUT_FILENAME $INPUT_PATH || { printf "\n⛔ Unable to create %s archive.\n" "$INPUT_TYPE"; exit 1; }
2020
else
2121
EXCLUSIONS=''
2222

@@ -26,7 +26,7 @@ then
2626
EXCLUSIONS+=$EXCLUSION
2727
done
2828

29-
7z a -tzip -r $INPUT_FILENAME $INPUT_PATH $EXCLUSIONS || { printf "\n⛔ Unable to create %s archive.\n" "$INPUT_TYPE"; exit 1; }
29+
7z a -tzip $INPUT_FILENAME $INPUT_PATH $EXCLUSIONS || { printf "\n⛔ Unable to create %s archive.\n" "$INPUT_TYPE"; exit 1; }
3030
fi
3131
else
3232
if [ -z "$INPUT_EXCLUSIONS" ]

0 commit comments

Comments
 (0)