Fix debian-static build script (#437)

Co-authored-by: Andrey Gavrilin <agavrilin@kyriba.com>
This commit is contained in:
gaal-dev 2024-05-28 03:28:47 +02:00 committed by GitHub
parent b489695639
commit 312617728f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ TMP_FOLDER="$(mktemp -d)"
podman run -it --rm -v "$PWD:/mnt" -w /mnt -v "$TMP_FOLDER:/out" quay.io/redpanda-cpp/appimage-builder-x86_64:20240304.0 packages/debian-static/01-in-docker.sh podman run -it --rm -v "$PWD:/mnt" -w /mnt -v "$TMP_FOLDER:/out" quay.io/redpanda-cpp/appimage-builder-x86_64:20240304.0 packages/debian-static/01-in-docker.sh
mkdir -p dist mkdir -p dist
mkdir -p "$TMP_FOLDER/DEBIAN" mkdir -m 755 -p "$TMP_FOLDER/DEBIAN"
sed "s/__VERSION__/$VERSION/" packages/debian-static/control.in >"$TMP_FOLDER/DEBIAN/control" sed "s/__VERSION__/$VERSION/" packages/debian-static/control.in >"$TMP_FOLDER/DEBIAN/control"
dpkg-deb --build "$TMP_FOLDER" "dist/$DEB_FILE" dpkg-deb --build "$TMP_FOLDER" "dist/$DEB_FILE"