projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug fix: GitHub workflow image tests
[geeqie.git]
/
scripts
/
get-test-images.sh
diff --git
a/scripts/get-test-images.sh
b/scripts/get-test-images.sh
index
103c0cb
..
db8700a
100755
(executable)
--- a/
scripts/get-test-images.sh
+++ b/
scripts/get-test-images.sh
@@
-26,11
+26,14
@@
## $2 git test image repo. \n
##
-mkdir -p "$1"
-
-if ! git clone "$2" "$1"
+if [ ! -d "$1" ]
then
- exit 1
+ mkdir -p "$1"
+
+ if ! git clone "$2" "$1"
+ then
+ exit 1
+ fi
fi
for file in "$1/images/"*