From e4662caf0e425c5ed97d11fbcc6af1221c3f21cf Mon Sep 17 00:00:00 2001 From: George Kapetanakis Date: Mon, 23 Mar 2026 22:07:29 -0400 Subject: [PATCH] Fix handling optional download dir in dataset downloader scripts --- data/scripts/COCO2014.sh | 2 +- data/scripts/VOC2007.sh | 2 +- data/scripts/VOC2012.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/scripts/COCO2014.sh b/data/scripts/COCO2014.sh index 74d53aa..f499978 100755 --- a/data/scripts/COCO2014.sh +++ b/data/scripts/COCO2014.sh @@ -3,7 +3,7 @@ start=`date +%s` # handle optional download dir -if [ -z '$1' ] +if [ -z "$1" ] then # navigate to ~/data echo 'navigating to ~/data/ ...' diff --git a/data/scripts/VOC2007.sh b/data/scripts/VOC2007.sh index f6c7e5b..5c69d3a 100755 --- a/data/scripts/VOC2007.sh +++ b/data/scripts/VOC2007.sh @@ -4,7 +4,7 @@ start=`date +%s` # handle optional download dir -if [ -z '$1' ] +if [ -z "$1" ] then # navigate to ~/data echo 'navigating to ~/data/ ...' diff --git a/data/scripts/VOC2012.sh b/data/scripts/VOC2012.sh index 1272fe5..2ecb7ce 100755 --- a/data/scripts/VOC2012.sh +++ b/data/scripts/VOC2012.sh @@ -4,7 +4,7 @@ start=`date +%s` # handle optional download dir -if [ -z '$1' ] +if [ -z "$1" ] then # navigate to ~/data echo 'navigating to ~/data/ ...'