Skip to content

Commit

Permalink
Merge pull request #89 from paketo-buildpacks/script_update
Browse files Browse the repository at this point in the history
Change script to be able to compress using multiple tools
  • Loading branch information
Daniel Mikusa authored Jun 14, 2021
2 parents 3aecfa1 + 0139b70 commit 71a68c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if [ "${STRIP:-false}" != "false" ]; then
strip bin/helper bin/main
fi

if [ "${COMPRESS:-false}" != "false" ]; then
upx -q -9 bin/helper bin/main
if [ "${COMPRESS:-none}" != "none" ]; then
$COMPRESS bin/helper bin/main
fi

ln -fs main bin/build
Expand Down

0 comments on commit 71a68c9

Please sign in to comment.