From 289d2aed731cb4d8ad47f4b4c7a04cfa21517533 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20H=C3=B6xter?= Date: Fri, 27 Jul 2018 14:27:15 +0200 Subject: [PATCH] consider the content of DISTROS env variable Allows to override the DISTROS default settings with an env variable. --- artifactory/aput.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2