~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a50abb
)
build-package.sh: Add symlinks to sub-packages
author
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 18 Mar 2016 20:39:23 +0000
(16:39 -0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 18 Mar 2016 20:39:23 +0000
(16:39 -0400)
build-package.sh
patch
|
blob
|
blame
|
history
diff --git
a/build-package.sh
b/build-package.sh
index
ae14040
..
04318fc
100755
(executable)
--- a/
build-package.sh
+++ b/
build-package.sh
@@
-517,7
+517,8
@@
termux_step_massage () {
for includeset in $TERMUX_SUBPKG_INCLUDE; do
_INCLUDE_DIRSET=`dirname $includeset`
test "$_INCLUDE_DIRSET" = "." && _INCLUDE_DIRSET=""
- if [ -e $includeset ]; then
+ if [ -e $includeset -o -L $includeset ]; then
+ # Add the -L clause to handle relative symbolic links:
mkdir -p $SUB_PKG_MASSAGE_DIR/$_INCLUDE_DIRSET
mv $includeset $SUB_PKG_MASSAGE_DIR/$_INCLUDE_DIRSET
fi