Fix --snapcraft flag

This commit is contained in:
Janek Bevendorff 2018-08-23 19:14:52 +02:00
parent 1d71059580
commit a19895850c
No known key found for this signature in database
GPG Key ID: 2FDEB0D40BCA5E11

View File

@ -710,7 +710,7 @@ build() {
${SRC_DIR}/AppImage-Recipe.sh "$APP_NAME" "$RELEASE_NAME" ${SRC_DIR}/AppImage-Recipe.sh "$APP_NAME" "$RELEASE_NAME"
fi fi
else else
if [ BUILD_SNAPCRAFT ]; then if ${BUILD_SNAPCRAFT}; then
logInfo "Building snapcraft docker image..." logInfo "Building snapcraft docker image..."
sudo docker image build -t "$DOCKER_IMAGE" "$(realpath "$SRC_DIR")/ci/snapcraft" sudo docker image build -t "$DOCKER_IMAGE" "$(realpath "$SRC_DIR")/ci/snapcraft"