Nightly: Fix macos file finding.

This commit is contained in:
John MacFarlane 2019-09-19 09:35:07 -07:00
parent f150ec04a0
commit 7744f3f92b

View file

@ -90,7 +90,7 @@ jobs:
export ARTIFACTS=nightly-macos
mkdir -p ${ARTIFACTS}
./stack build pandoc pandoc-citeproc
for f in $(find .stack-work/install -name 'pandoc-*' -perm +400 -type f); do cp $f ${ARTIFACTS}/; done
for f in $(find .stack-work/install -name 'pandoc*' -perm +001 -type f); do cp $f ${ARTIFACTS}/; done
mv ${ARTIFACTS}/pandoc ${ARTIFACTS}/pandoc-${SUFFIX}
mv ${ARTIFACTS}/pandoc-citeproc ${ARTIFACTS}/pandoc-citeproc-${SUFFIX}
cp COPYRIGHT ${ARTIFACTS}/