Skip to content

Commit

Permalink
fix archive script to populate TMPDIR path
Browse files Browse the repository at this point in the history
  • Loading branch information
IuriiKobein committed Oct 22, 2024
1 parent 9a17e2e commit bed6f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/git-archive-submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ command -v sed >/dev/null 2>&1 || { usage; echo >&2 "ERROR:I require sed but it'
# requires gzip
command -v gzip >/dev/null 2>&1 || { usage; echo >&2 "ERROR:I require gzip but it's not installed. Aborting."; usage; exit 1; }

export TMPDIR="/tmp/"
export TARMODULE=`basename \`git rev-parse --show-toplevel\``
export TARVERSION=`git describe --tags --abbrev=0 | sed 's/v//g'`
export TARPREFIX="${TARMODULE}-${TARVERSION}"
Expand Down

0 comments on commit bed6f97

Please sign in to comment.