Skip to content

Commit

Permalink
Skip extracting ROOT if already built
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Jul 1, 2024
1 parent 16bea2c commit 51085a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy_dqmgui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ install_jsroot() {

# Extract the ROOT tar to a tmp folder for compilation
install_root() {
if source "$ROOT_INSTALLATION_DIR/bin/thisroot.sh"; then
echo "INFO: ROOT installation found, not re-compiling ROOT"
return
fi
mkdir -p $ROOT_TMP_DIR
tar -xzf "$SCRIPT_DIR/root/root.tar.gz" -C "${ROOT_TMP_DIR}"
}
Expand Down

0 comments on commit 51085a6

Please sign in to comment.