Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 6f82ecdc authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

ignore empty lines in KEYFILE

parent 8acc1c00
...@@ -319,7 +319,7 @@ if [[ -r ${RESIFDD_KEYFILE} ]]; then ...@@ -319,7 +319,7 @@ if [[ -r ${RESIFDD_KEYFILE} ]]; then
echo "Using $RESIFDD_KEYFILE as references to transfer data" echo "Using $RESIFDD_KEYFILE as references to transfer data"
# Make a list of directories from KEYFILE and pass it to pack_and_send # Make a list of directories from KEYFILE and pass it to pack_and_send
# We use only the first word of each line, compose a full path and test for it's existence # We use only the first word of each line, compose a full path and test for it's existence
for i in $(sed -e "s, .*$,," -e "s,_,/,g" -e "s,^,$SNAPSHOT_DIR/," $RESIFDD_KEYFILE |sort -u); do for i in $(sed -e "s, .*$,," -e "/^\s*$/d" -e "s,_,/,g" -e "s,^,$SNAPSHOT_DIR/," $RESIFDD_KEYFILE |sort -u); do
if [[ -d $i ]]; then if [[ -d $i ]]; then
pack_and_send $i pack_and_send $i
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment