Author: Adam <git@apiote.xyz>
fix getting single artifact
get.sh | 2 +-
diff --git a/get.sh b/get.sh index 017a4c33a2c90a52cc664cd892f9effef2cd00dc..e49e02c02764d9616a82cd851b1c1e503b146944 100644 --- a/get.sh +++ b/get.sh @@ -67,7 +67,7 @@ get_artifact() { toy=$1 item=$2 artifactName=$3 - if [ ! -d "toys/$toy/$item/$artifactName" ] + if [ ! -f "toys/$toy/$item/$artifactName" ] then printf 'n;' else