From d4f351131d8f9077930d5262aa57e0fda5271414 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 5 Aug 2019 13:05:51 +0100 Subject: [PATCH] Fix fpm call --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index 86e3465..0904310 100755 --- a/build +++ b/build @@ -73,8 +73,8 @@ task_build() { task_package() { task_begin "Packaging as .deb"; - version="$(awk '/version = / { print $3 }' PolyFeed.sln)-$(date +"%Y-%m-%dT%H:%M")+$(git rev-parse HEAD | head -c7)"; - execute fpm -s dir -t deb -n polyfeed -v "${version}" --license MPL-2.0 \ + version="$(awk '/version = / { print($3) }' PolyFeed.sln | tr -d '\n\r')-$(date +"%Y-%m-%dT%H:%M")+$(git rev-parse HEAD | head -c7)"; + fpm -s dir -t deb -n polyfeed -v "${version}" --license MPL-2.0 \ --architecture all --maintainer "Starbeamrainbowlabs " \ --description "Create Atom feeds for websites that don't support it" \ --url "https://github.com/sbrl/PolyFeed" \