changeset 163:e2149ba6ab9c

shift placed at wrong place.
author edhoprima@gmail.com <edhoprima@gmail.com>
date Fri, 05 Jun 2009 19:19:56 +0000
parents 1f937c2e8b3f
children ecc73a13549f
files moefetch.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/moefetch.sh	Fri Jun 05 19:19:01 2009 +0000
+++ b/moefetch.sh	Fri Jun 05 19:19:56 2009 +0000
@@ -239,12 +239,12 @@
 		-s|--site)
 			shift
 			SITE="$1"
+			shift
 		;;
 		*)
 			SITE="${DEFAULT_SITE}"
 		;;
 	esac
-	shift
 	TAGS=$@
 	echo "Tags: ${TAGS}"
 	# slash is not wanted for folder name