Skip to content

Commit 5ef7d65

Browse files
committed
removing extra shifts
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
1 parent 5d4d48d commit 5ef7d65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docker2singularity.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,10 @@ while true; do
8181
-f|--folder)
8282
shift
8383
image_format="sandbox"
84-
shift
8584
;;
8685
-w|--writable)
8786
shift
8887
image_format="writable"
89-
shift
9088
;;
9189
:) printf "missing argument for -%s\n" "$option" >&2
9290
usage
@@ -107,7 +105,7 @@ while true; do
107105
esac
108106
done
109107

110-
image=$1
108+
image=${1}
111109

112110
echo ""
113111
echo "Image Format: ${image_format}"

0 commit comments

Comments
 (0)