Skip to content

Commit bd78807

Browse files
Neves-Pocaisa
andauthored
Add comment on cvmfs_repo_name and remove blank line at EOF
Co-authored-by: ocaisa <[email protected]>
1 parent 5be4ab2 commit bd78807

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

create_tarball.sh

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ if [ ! -d ${software_dir} ]; then
2626
exit 2
2727
fi
2828

29+
# Need to extract the cvmfs_repo_name from the cvmfs_repo variable
30+
# - remove /${EESSI_DEV_PROJECT} from the end (if it exists)
31+
# - remove /cvmfs/ from the beginning
2932
cvmfs_repo_name=${cvmfs_repo%"/${EESSI_DEV_PROJECT}"}
3033
cvmfs_repo_name=${cvmfs_repo_name#/cvmfs/}
3134
overlay_upper_dir="${eessi_tmpdir}/${cvmfs_repo_name}/overlay-upper${EESSI_DEV_PROJECT:+/$EESSI_DEV_PROJECT}"

eessi_container.sh

-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,6 @@ do
769769
# always create a directory for the repository (e.g., to store settings, ...)
770770
mkdir -p ${EESSI_TMPDIR}/${cvmfs_repo_name}
771771

772-
773772
# add fusemount options depending on requested access mode ('ro' - read-only; 'rw' - read & write)
774773
if [[ ${cvmfs_repo_access} == "ro" ]] ; then
775774
# need to distinguish between basic "ro" access and "ro" after a "rw" session

0 commit comments

Comments
 (0)