Skip to content
Snippets Groups Projects
Commit 4ae34798 authored by pablo_import's avatar pablo_import
Browse files

use $TMPDIR instead of /scratch

parent 62659df7
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@ CURRENT_DATE=$(date +"%Y%m%dT%H%M%SZ")
GIT_BRANCH=$1
# create a temporary directory to download the sources and do the build
TEMP_DIR="/scratch/${USER}/ost-builds/$CURRENT_DATE"
TEMP_DIR="${TMPDIR}/${USER}/ost-builds/$CURRENT_DATE"
echo -e "\ncreating temporary dir to clone and build in $TEMP_DIR\n"
mkdir -p $TEMP_DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment