From d33c36562fd56e35fc860e64b8b937be92da60a3 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 5 Aug 2019 13:44:27 +0100 Subject: [PATCH] build: Maybe a copy will do the trick? Drat! fpm out-smarted us with it's knowledge of symlinks :P --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index 66b1cb9..51a79bc 100755 --- a/build +++ b/build @@ -74,7 +74,7 @@ task_build() { task_package() { task_begin "Packaging as .deb"; - execute ln -s Release PolyFeed/bin/polyfeed; + execute cp -ral Release PolyFeed/bin/polyfeed; 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 " \ @@ -83,7 +83,7 @@ task_package() { --depends mono-runtime \ PolyFeed/bin/polyfeed=/usr/lib \ polyfeed=/usr/bin; - execute rm PolyFeed/bin/polyfeed; + execute rm -r PolyFeed/bin/polyfeed; execute dpkg -c *.deb; # We don't know it's name :P task_end $?;