summaryrefslogtreecommitdiff
path: root/src/cgg-dirgen
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgg-dirgen')
-rwxr-xr-xsrc/cgg-dirgen14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cgg-dirgen b/src/cgg-dirgen
index a56289f..e31f08e 100755
--- a/src/cgg-dirgen
+++ b/src/cgg-dirgen
@@ -18,10 +18,10 @@
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
##
-PREVIEW=no
+PREVIEW="no"
PREVIEW_PATH="preview"
-NO_FULLSIZE=no
-EXT_THUMB=no
+NO_FULLSIZE="no"
+EXT_THUMB="no"
EXT_THUMB_PATH="thumbnails"
@@ -45,7 +45,7 @@ print_help()
while [[ $1 = -* ]]; do
case "$1" in
-d|--preview)
- PREVIEW=yes
+ PREVIEW="yes"
shift
if [[ ! $1 == -* && ! "x$1" == "x" ]]; then
PREVIEW_PATH="$1"
@@ -53,11 +53,11 @@ while [[ $1 = -* ]]; do
fi
;;
-o|--nofullsize)
- NO_FULLSIZE=yes
+ NO_FULLSIZE="yes"
shift
;;
-t|--thumbnails)
- EXT_THUMB=yes
+ EXT_THUMB="yes"
shift
if [[ ! $1 == -* && ! "x$1" == "x" ]]; then
EXT_THUMB_PATH="$1"
@@ -65,7 +65,7 @@ while [[ $1 = -* ]]; do
fi
;;
-h|--help|-\?)
- print_help
+ print_help;
exit
;;
*)