diff options
author | fuzzard <fuzzard@kodi.tv> | 2020-11-27 09:07:34 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2020-11-27 09:07:34 +1000 |
commit | 392174ffb33747f4958602a7e3311a0beee5db10 (patch) | |
tree | 8d7f12c9380d4f7bc63b12afe5123521a5507919 | |
parent | 67b9857799d2d4aff3ad6608ad95c14a5fab7090 (diff) |
[darwinembedded] deb packaging handle symlink settings
cp doesnt like symlinks, and is erroring out for deb packaging on ios/tvos
use rsync, and dont follow symlinks
-rw-r--r-- | tools/darwin/packaging/darwin_embedded/mkdeb-darwin_embedded.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/darwin/packaging/darwin_embedded/mkdeb-darwin_embedded.sh.in b/tools/darwin/packaging/darwin_embedded/mkdeb-darwin_embedded.sh.in index 0d318be595..bd508d435c 100644 --- a/tools/darwin/packaging/darwin_embedded/mkdeb-darwin_embedded.sh.in +++ b/tools/darwin/packaging/darwin_embedded/mkdeb-darwin_embedded.sh.in @@ -102,7 +102,7 @@ chmod +x $DIRNAME/$PACKAGE/DEBIAN/postinst # prep @APP_NAME@.app mkdir -p $DIRNAME/$PACKAGE/Applications -cp -r $APP $DIRNAME/$PACKAGE/Applications/ +rsync -a --no-links $APP $DIRNAME/$PACKAGE/Applications/ find $DIRNAME/$PACKAGE/Applications/ -name '.svn' -exec rm -rf {} \; find $DIRNAME/$PACKAGE/Applications/ -name '.git*' -exec rm -rf {} \; find $DIRNAME/$PACKAGE/Applications/ -name '.DS_Store' -exec rm -rf {} \; |