aboutsummaryrefslogtreecommitdiffstats
path: root/testing/homer-api/APKBUILD
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2017-04-18 19:51:00 +0000
committerBreno Leitao <breno.leitao@gmail.com>2017-04-18 19:51:00 +0000
commit9ffa2b9c245d7e8f531cbf44d1cc99ba1f2a2b45 (patch)
tree5984320f0f980dcf867b1cfdd7e28f4dbcd7229b /testing/homer-api/APKBUILD
parentdeae79bb787661abfa40b7b75136bbb88ea4c96f (diff)
downloadaports-9ffa2b9c245d7e8f531cbf44d1cc99ba1f2a2b45.tar.bz2
aports-9ffa2b9c245d7e8f531cbf44d1cc99ba1f2a2b45.tar.xz
testing/homer-api: Fix build
Currently homer-api is trying to copy a directory without using the recursive paramters. This is causing the following error: + cp -p sql/homer_databases.sql sql/homer_user.sql sql/homer_user_bootstrap.sql sql/postgres sql/schema_configuration.sql sql/schema_data.sql sql/schema_statistic.sql /home/alpine/aports/testing/homer-api/pkg/homer-db/usr/share/homer-db cp: -r not specified; omitting directory 'sql/postgres' This patch just copy the subdirectories recursively.
Diffstat (limited to 'testing/homer-api/APKBUILD')
-rw-r--r--testing/homer-api/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/homer-api/APKBUILD b/testing/homer-api/APKBUILD
index 591205aac9..a4e3d6dac2 100644
--- a/testing/homer-api/APKBUILD
+++ b/testing/homer-api/APKBUILD
@@ -50,7 +50,7 @@ db() {
install -D -m 644 scripts/rotation.ini \
"$subpkgdir"/etc/homer/rotation.ini
- cp -p sql/* "$subpkgdir"/usr/share/homer-db
+ cp -pr sql/* "$subpkgdir"/usr/share/homer-db
install -D "$srcdir"/homer_db_init "$subpkgdir"/usr/bin/homer_db_init
cp -p scripts/homer_* "$subpkgdir"/usr/bin