Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Commit 3572e79

Browse files
committed
Slight fix
1 parent 8aeda62 commit 3572e79

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

build_in_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22
[ -z "$COMPOSE_VERSION" ] && COMPOSE_VERSION=2.0.1
3-
[ -z "COMPOSE_SWITCH_VERSION" ] && COMPOSE_SWITCH_VERSION=1.0.2
3+
[ -z "$COMPOSE_SWITCH_VERSION" ] && COMPOSE_SWITCH_VERSION=1.0.2
44
docker run --rm --tmpfs /tmp -v $PWD/archive:/mnt/output:rw -e COMPOSE_VERSION=$COMPOSE_VERSION -e COMPOSE_SWITCH_VERSION=$COMPOSE_SWITCH_VERSION -e OUTPUT_FOLDER="/mnt/output" -v $PWD/source:/mnt/source:ro vbatts/slackware:latest /mnt/source/pkg_build.sh $UI_VERSION_LETTER

source/pkg_build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
[ -z "$OUTPUT_FOLDER" ] && echo "Output Folder not set" && exit 1
3-
[ -z "$COMPOSE_VERSION" ] && echo "Compose Version not set" && exit 1
4-
[ -z "$COMPOSE_SWITCH_VERSION" ] && echo "Compose Switch Version not set" && exit 1
3+
[ -z "$COMPOSE_VERSION" ] && echo "Compose Version not set" && exit 2
4+
[ -z "$COMPOSE_SWITCH_VERSION" ] && echo "Compose Switch Version not set" && exit 3
55
tmpdir=/tmp/tmp.$(( $RANDOM * 19318203981230 + 40 ))
66
version=$(date +"%Y.%m.%d")$1
77

@@ -14,7 +14,7 @@ cd $tmpdir
1414
#Install the docker compose cli plugin
1515
wget --no-check-certificate https://github.com/docker/compose/releases/download/v${COMPOSE_VERSION}/docker-compose-linux-x86_64
1616
wget --no-check-certificate https://github.com/docker/compose/releases/download/v${COMPOSE_VERSION}/docker-compose-linux-x86_64.sha256
17-
sha256sum -c docker-compose-linux-x86_64.sha256 2>&1 | grep -q OK || exit 2
17+
sha256sum -c docker-compose-linux-x86_64.sha256 2>&1 | grep -q OK || exit 4
1818
rm docker-compose-linux-x86_64.sha256
1919

2020
mkdir -p $tmpdir/usr/local/lib/docker/cli-plugins/

0 commit comments

Comments
 (0)