From 216ad694355487cd240f39d574f30e029f18b0d9 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 25 Oct 2011 00:10:21 -0700 Subject: [PATCH] fix basename invocation --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 5eccaa6d8b..7e4d466678 100755 --- a/stack.sh +++ b/stack.sh @@ -741,7 +741,7 @@ if [[ "$ENABLED_SERVICES" =~ "g-reg" ]]; then for image_url in ${IMAGE_URLS//,/ }; do # Downloads the image (uec ami+aki style), then extracts it. IMAGE_FNAME=`basename "$image_url"` - IMAGE_NAME=`basename -s .tar.gz "$IMAGE_FNAME"` + IMAGE_NAME=`basename "$IMAGE_FNAME" .tar.gz` if [ ! -f $FILES/$IMAGE_FNAME ]; then wget -c $image_url -O $FILES/$IMAGE_FNAME fi