commit 0c44fdae9c7fac6b05961d2dc70ba94edce7ccdd parent df86e2cc683f6b56915858aeba8913911a36a391 Author: sin <sin@2f30.org> Date: Sat, 6 Jul 2013 15:48:10 +0100 Rename `loc' to `path' Diffstat:
M | 4chandownload.sh | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/4chandownload.sh b/4chandownload.sh @@ -35,9 +35,9 @@ while :; do done=1 for arg in "$@"; do - loc=$(echo "$arg" | egrep -o '([0-9]*)$' | sed 's/\.html//g') - mkdir -p ${loc} - cd ${loc} + path=$(echo "$arg" | egrep -o '([0-9]*)$' | sed 's/\.html//g') + mkdir -p ${path} + cd ${path} pullthread "$arg" if [ $? -eq 0 ]; then