build/macos: Copy macports contents, not macports dir
Ths fixes a bug introduced by f5fa988a
This commit is contained in:
parent
81f8b8d933
commit
59fe682fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ if [ -f "$OPT_PREFIX/bin/port" ]; then
|
|||
eval $( [ "$OPT_PREFIX" = /opt/local ] && echo sudo ) port install -N $(grep -v '^#' build/macos/all-deps-uni.txt | sed 's/|homebrew:[^ ]*//g' | tr -d '\' | xargs)
|
||||
fi
|
||||
if echo "$CI_JOB_NAME" | grep -q 'deps'; then
|
||||
cp -fa $OPT_PREFIX/var/macports macports-$(uname -m) || true
|
||||
cp -fa $OPT_PREFIX/var/macports/* macports-$(uname -m) || true
|
||||
if echo "$CI_JOB_NAME" | grep -q 'part'; then
|
||||
exit 0
|
||||
elif [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue