Skip to content
Snippets Groups Projects
Commit 2e3ae4a2 authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Fix command in prepare_date_remote.sh

parent 08f5e558
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
...@@ -51,7 +51,7 @@ if [ "${IS_LOCAL}" == "True" ]; then ...@@ -51,7 +51,7 @@ if [ "${IS_LOCAL}" == "True" ]; then
rsync -v "${AN_SOURCE}" "${HPCUSER}@${HPCHOST}":"${COMMON_DATE_FOLDER}/${AN_FILE}" rsync -v "${AN_SOURCE}" "${HPCUSER}@${HPCHOST}":"${COMMON_DATE_FOLDER}/${AN_FILE}"
# Change permissions to read only. # Change permissions to read only.
ssh "${HPCUSER}@${HPCHOST}" chmod 440 ./* ssh "${HPCUSER}@${HPCHOST}" chmod 440 "${COMMON_DATE_FOLDER}/${AN_FILE}/*"
else else
# Create member folder and go there # Create member folder and go there
mkdir -p ${COMMON_DATE_FOLDER} mkdir -p ${COMMON_DATE_FOLDER}
......
...@@ -50,7 +50,7 @@ if [ "${IS_LOCAL}" == "0" ]; then ...@@ -50,7 +50,7 @@ if [ "${IS_LOCAL}" == "0" ]; then
rsync -v "${AN_SOURCE}" "${HPCUSER}@${HPCHOST}":"${COMMON_DATE_FOLDER}/${AN_FILE}" rsync -v "${AN_SOURCE}" "${HPCUSER}@${HPCHOST}":"${COMMON_DATE_FOLDER}/${AN_FILE}"
# Change permissions to read only. # Change permissions to read only.
ssh "${HPCUSER}@${HPCHOST}" chmod 440 ./* ssh "${HPCUSER}@${HPCHOST}" chmod 440 "${COMMON_DATE_FOLDER}/${AN_FILE}/*"
else else
# Create member folder and go there # Create member folder and go there
mkdir -p ${COMMON_DATE_FOLDER} mkdir -p ${COMMON_DATE_FOLDER}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment