build: fix cp -ral call

This commit is contained in:
Starbeamrainbowlabs 2019-08-05 13:49:31 +01:00
parent d33c36562f
commit c85849ad7f
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -74,7 +74,7 @@ task_build() {
task_package() {
task_begin "Packaging as .deb";
execute cp -ral Release PolyFeed/bin/polyfeed;
execute cp -ral PolyFeed/bin/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 <feedback@starbeamrainbowlabs.com>" \