* Minor typographical improvements.
This commit is contained in:
@@ -61,7 +61,7 @@ collect_scratch_objects () {
|
|||||||
# Parses line like this:
|
# Parses line like this:
|
||||||
# %RWF=/dalton/s0/
|
# %RWF=/dalton/s0/
|
||||||
# %RWF=/dalton/s0/,4GB,/scratch/,3GB,/temp/s0/my_job,-1
|
# %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
|
# The first argument is the keyword to look for, and it must
|
||||||
# be must be in lowercase
|
# be must be in lowercase
|
||||||
@@ -118,14 +118,14 @@ if [ -z "$begin_date" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$output_file" ]; then
|
if [ -f "$output_file" ]; then
|
||||||
read -p "Output file $output_file already exists, do you want overwrite? [N/y]" confirm
|
read -p "Output file $output_file already exists, do you want overwrite? [N/y]" confirm
|
||||||
|
|
||||||
if [ "$confirm" = "y" ]; then
|
if [ "$confirm" = "y" ]; then
|
||||||
> "$output_file"
|
> "$output_file"
|
||||||
else
|
else
|
||||||
echo "Cancelling job submission" >&2
|
echo "Cancelling job submission" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLUSTER=$(cat /etc/cluster)
|
CLUSTER=$(cat /etc/cluster)
|
||||||
|
|||||||
Reference in New Issue
Block a user