Mercurial > ec-dotfiles
comparison moefetch.sh @ 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 |
comparison
equal
deleted
inserted
replaced
161:52877e2849bb | 162:1f937c2e8b3f |
---|---|
243 *) | 243 *) |
244 SITE="${DEFAULT_SITE}" | 244 SITE="${DEFAULT_SITE}" |
245 ;; | 245 ;; |
246 esac | 246 esac |
247 shift | 247 shift |
248 TAGS="$@" | 248 TAGS=$@ |
249 echo "Tags: ${TAGS}" | 249 echo "Tags: ${TAGS}" |
250 # slash is not wanted for folder name | 250 # slash is not wanted for folder name |
251 TARGET_DIR=`echo "${TAGS}" | sed -e 's/\//_/g'` | 251 TARGET_DIR="`echo "${TAGS}" | sed -e 's/\//_/g'`" |
252 SITE_DIR=`echo "${SITE}" | sed -e 's/\/$//g;s/\//_/g'` | 252 SITE_DIR="`echo "${SITE}" | sed -e 's/\/$//g;s/\//_/g'`" |
253 } | 253 } |
254 | 254 |
255 Msg_Welcome | 255 Msg_Welcome |
256 Init "$@" | 256 Init "$@" |
257 Check_Tools | 257 Check_Tools |