Skip to content

Commit

Permalink
Removing $STRIP variable from build-release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Aug 3, 2022
1 parent 3181401 commit 2b64739
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ VER="${VER#v}"
EXT=tar.bz2
DIR=$BUILD/$PLATFORM/$ARCH/$VER
BIN=$DIR/$NAME
STRIP=${STRIP:-"strip"}

TAGS=(
most
Expand Down Expand Up @@ -100,7 +99,7 @@ fi

# check not overwriting existing build artifacts
if [[ -e $OUT && "$FORCE" != "1" ]]; then
echo "error: $OUT exists and FORCE!=1 (try $0 -f)"
echo "error: $OUT exists and FORCE != 1 (try $0 -f)"
exit 1
fi

Expand Down Expand Up @@ -141,7 +140,7 @@ echo "BUILD:"
case $PLATFORM in
linux|windows|darwin)
echo "STRIPPING: $BIN"
$STRIP $BIN
strip $BIN
;;
esac

Expand Down

0 comments on commit 2b64739

Please sign in to comment.