summaryrefslogtreecommitdiffstats
path: root/share/scripts/curl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:56:09 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:56:09 +0000
commitc4c8f1734c1e86f748c96b3987917fe88d45e9b2 (patch)
treefb9d2aed040086eb47b9a70b06a5d03157fe6a2d /share/scripts/curl
parentMaking hook to git-pull debconf files work recursively. (diff)
downloadcompute-tools-c4c8f1734c1e86f748c96b3987917fe88d45e9b2.tar.xz
compute-tools-c4c8f1734c1e86f748c96b3987917fe88d45e9b2.zip
Harmonizing initial variables in curl and debconf container create scripts for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/curl')
-rwxr-xr-xshare/scripts/curl4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/scripts/curl b/share/scripts/curl
index 15f64f9..bc813aa 100755
--- a/share/scripts/curl
+++ b/share/scripts/curl
@@ -22,13 +22,15 @@ set -e
PROJECT="open-infrastructure"
SOFTWARE="compute-tools"
PROGRAM="container"
-SCRIPT="${0}"
HOOKS="/etc/${SOFTWARE}/hooks"
KEYS="/etc/${SOFTWARE}/keys"
MACHINES="/var/lib/machines"
CACHE="/var/cache/${PROGRAM}/system"
+SCRIPT="${0}"
+export SCRIPT
+
Parameters ()
{
GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,architecture:,clean,password:,server:,setup:,system:,"