Skip to content

Commit

Permalink
tuning script output and behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 4, 2024
1 parent d161829 commit 119a6a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ fi

# Install extra software that is needed (e.g., for providing a custom ctypes
# library when needed)
ls -l ${EESSI_CVMFS_REPO}/host_injections
echo "Location of host_injections: $(ls -l ${EESSI_CVMFS_REPO}/host_injections)"
${EESSI_PREFIX}/scripts/extra/install_custom_ctypes.sh --temp-dir /tmp/temp

# use PR patch file to determine in which easystack files stuff was added
Expand Down
7 changes: 2 additions & 5 deletions scripts/extra/install_custom_ctypes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,10 @@ else
fi
echo "Created temporary directory '${tmpdir}'"

# some logging
echo ">>> Checking contents under '${NESSI_SITE_INSTALL}'"
ls -lR ${NESSI_SITE_INSTALL}

# check if custom_ctypes has already been installed
if [[ -d ${NESSI_SITE_INSTALL}/lib ]]; then
fatal_error "Error: Installation of custom_ctypes already found at '${NESSI_SITE_INSTALL}'"
echo "INFO: Installation of custom_ctypes already found at '${NESSI_SITE_INSTALL}'"
exit 0
fi

# download custom_ctypes to temp directory
Expand Down

0 comments on commit 119a6a5

Please sign in to comment.