From e1a9ae803d4d34c44c420bfc40645029e6d5ddeb Mon Sep 17 00:00:00 2001 From: Gurkengewuerz Date: Mon, 1 Jun 2020 19:46:48 +0200 Subject: [PATCH] updated ci --- packages/makedeb.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/makedeb.sh b/packages/makedeb.sh index 551d346..a7e8f58 100755 --- a/packages/makedeb.sh +++ b/packages/makedeb.sh @@ -1,8 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash VERSION=$(grep setApplicationVersion ../src/main.cpp | head -n1 | cut -d \" -f2) echo "Make Debian package for v$VERSION" >&2 -cp deb work -r +mkdir work/ || true +cp deb/* work -r sed "s/%ver/$VERSION/g" deb/DEBIAN/control > work/DEBIAN/control mkdir -p work/usr/bin