changeset 162:1f937c2e8b3f

tags doesn't get parsed :(
author edhoprima@gmail.com <edhoprima@gmail.com>
date Fri, 05 Jun 2009 19:19:01 +0000
parents 52877e2849bb
children e2149ba6ab9c
files moefetch.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/moefetch.sh	Fri Jun 05 19:15:36 2009 +0000
+++ b/moefetch.sh	Fri Jun 05 19:19:01 2009 +0000
@@ -245,11 +245,11 @@
 		;;
 	esac
 	shift
-	TAGS="$@"
+	TAGS=$@
 	echo "Tags: ${TAGS}"
 	# slash is not wanted for folder name
-	TARGET_DIR=`echo "${TAGS}" | sed -e 's/\//_/g'`
-	SITE_DIR=`echo "${SITE}" | sed -e 's/\/$//g;s/\//_/g'`
+	TARGET_DIR="`echo "${TAGS}" | sed -e 's/\//_/g'`"
+	SITE_DIR="`echo "${SITE}" | sed -e 's/\/$//g;s/\//_/g'`"
 }
 
 Msg_Welcome