From e9597af157d85217f9ef3f53c86d6c4de29357a2 Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Thu, 28 Jan 2021 09:43:50 -0500 Subject: [PATCH] * Minor typographical improvements. --- turing/calculations/g09/g09slurm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/turing/calculations/g09/g09slurm b/turing/calculations/g09/g09slurm index af81bb1..236d50a 100755 --- a/turing/calculations/g09/g09slurm +++ b/turing/calculations/g09/g09slurm @@ -61,7 +61,7 @@ collect_scratch_objects () { # Parses line like this: # %RWF=/dalton/s0/ # %RWF=/dalton/s0/,4GB,/scratch/,3GB,/temp/s0/my_job,-1 - # and prints the scratch dirs/files there + # and prints the scratch dirs/files found to the standard output # # The first argument is the keyword to look for, and it must # be must be in lowercase @@ -118,14 +118,14 @@ if [ -z "$begin_date" ]; then fi if [ -f "$output_file" ]; then - read -p "Output file $output_file already exists, do you want overwrite? [N/y]" confirm - - if [ "$confirm" = "y" ]; then - > "$output_file" - else - echo "Cancelling job submission" >&2 - exit 1 - fi + read -p "Output file $output_file already exists, do you want overwrite? [N/y]" confirm + + if [ "$confirm" = "y" ]; then + > "$output_file" + else + echo "Cancelling job submission" >&2 + exit 1 + fi fi CLUSTER=$(cat /etc/cluster)