From aeaefef8bf82f4fc63afb9911c7c18b9b57eb648 Mon Sep 17 00:00:00 2001 From: Gambhiro Date: Thu, 11 Feb 2016 18:53:44 +0000 Subject: [PATCH 1/2] fix regex --- package-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-linux.sh b/package-linux.sh index a3757f2..2810f93 100755 --- a/package-linux.sh +++ b/package-linux.sh @@ -72,7 +72,7 @@ while [ $# -gt 0 ]; do shift done -tarversion=$(tar --version | head -1 | sed -e 's/tar (GNU tar) \+\([0-9\.]\+\)$/\1/; s/[^0-9]//g; s/^\(.{3}\).*$/\1/;') +tarversion=$(tar --version | head -1 | sed -e 's/tar (GNU tar) \+\([0-9\.]\+\)$/\1/; s/[^0-9]//g; s/\(.\{3\}\).*/\1/;') if [[ "$tarversion" -lt "128" ]]; then echo "Tar >= 1.28 is required. Download the .deb from https://launchpad.net/ubuntu/+source/tar/ and install manually." From c06b014df003ff97d8d8624bee2895adc5e678d5 Mon Sep 17 00:00:00 2001 From: Gambhiro Date: Thu, 11 Feb 2016 20:39:49 +0000 Subject: [PATCH 2/2] set it to executable --- package-linux.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package-linux.sh b/package-linux.sh index 2810f93..5e83c84 100755 --- a/package-linux.sh +++ b/package-linux.sh @@ -46,6 +46,9 @@ if [ ! -d '.git' -o ! -f 'main.pro' ]; then exit 2 fi +# Make sure create-symlinks.sh will be executable. +chmod +x ./Builds/create-symlinks.sh + # Set defaults. OPT_BUILD_BINARY=0 OPT_BUILD_SOURCE=1