Skip to content

Commit

Permalink
Remove the usage of 7z -r (#22) - closes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
rapiz1 authored Jan 7, 2022
1 parent 4fb9e4f commit 591e9b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ then
then
if [ -z "$INPUT_EXCLUSIONS" ]
then
7z a -tzip -r $INPUT_FILENAME $INPUT_PATH || { printf "\n⛔ Unable to create %s archive.\n" "$INPUT_TYPE"; exit 1; }
7z a -tzip $INPUT_FILENAME $INPUT_PATH || { printf "\n⛔ Unable to create %s archive.\n" "$INPUT_TYPE"; exit 1; }
else
EXCLUSIONS=''

Expand All @@ -26,7 +26,7 @@ then
EXCLUSIONS+=$EXCLUSION
done

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

0 comments on commit 591e9b1

Please sign in to comment.