Fix passing of dists to run_deb/prepare_deb
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 10 Jan 2017 10:11:23 +0000 (11:11 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 10 Jan 2017 10:11:23 +0000 (11:11 +0100)
id-deb-build/docker-build.sh

index 662d761..9340adb 100755 (executable)
@@ -233,11 +233,10 @@ if $debian; then
     fi
 fi
 if test "${DEBIAN_DIST}"; then
-    prepare_deb debian ${DEBIAN_DIST}
+    prepare_deb debian "${DEBIAN_DIST}"
 fi
-
 if test "${UBUNTU_DIST}"; then
-    prepare_deb ubuntu ${UBUNTU_DIST}
+    prepare_deb ubuntu "${UBUNTU_DIST}"
 fi
 
 if test "${CENTOS_DIST}"; then
@@ -265,10 +264,10 @@ if test "${CENTOS_DIST}"; then
     done
 fi
 if test "${DEBIAN_DIST}"; then
-    run_deb debian ${DEBIAN_DIST}
+    run_deb debian "${DEBIAN_DIST}"
 fi
 if test "${UBUNTU_DIST}"; then
-    run_deb ubuntu ${UBUNTU_DIST}
+    run_deb ubuntu "${UBUNTU_DIST}"
 fi
 
 # Local Variables: