1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-11-21 06:22:59 +00:00

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

2
build
View file

@ -74,7 +74,7 @@ task_build() {
task_package() { task_package() {
task_begin "Packaging as .deb"; 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)"; 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 \ fpm -s dir -t deb -n polyfeed -v "${version}" --license MPL-2.0 \
--architecture all --maintainer "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \ --architecture all --maintainer "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \