Skip to content
Browse files

Appropriately checking if USE_SUBFOLDERS was set

  • Loading branch information...
1 parent 88a1f1e commit 86fcf35fba1dac5b34e92cc0e9ef0b9715f1ffc5 @parkr parkr committed Dec 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tumbld.sh
View
4 tumbld.sh
@@ -2,7 +2,7 @@
download_site()
{
- if [ $USE_SUBFOLDERS ]
+ if [ "$USE_SUBFOLDERS" == "1" ]
then
# Go to subfolder for organized downloading
if [ ! -d "$site" ]
@@ -20,7 +20,7 @@ download_site()
# Clean up pages needed to find images
rm -f 1 2 3 4 5 6 7 8 9 index.html
- if [ $USE_SUBFOLDERS ]
+ if [ "$USE_SUBFOLDERS" == "1" ]
then
cd ../
fi

0 comments on commit 86fcf35

Please sign in to comment.
Something went wrong with that request. Please try again.