From: Sven Höxter Date: Fri, 27 Jul 2018 12:27:15 +0000 (+0200) Subject: consider the content of DISTROS env variable X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fscripts.git;a=commitdiff_plain;h=289d2aed731cb4d8ad47f4b4c7a04cfa21517533;ds=sidebyside consider the content of DISTROS env variable Allows to override the DISTROS default settings with an env variable. --- diff --git a/artifactory/aput.sh b/artifactory/aput.sh index 50eb40a..83de979 100755 --- a/artifactory/aput.sh +++ b/artifactory/aput.sh @@ -1,7 +1,7 @@ #!/bin/bash APIKEY="" -DISTROS="jessie stretch" +DISTROS="${DISTROS:-jessie stretch}" COMPONENT="main" BASE_URL="https://artifactory.foobar/artifactory" REPO="foobar"