Unverified 提交 c17aaa6e 作者: Steven Allen 提交者: GitHub

Merge pull request #5860 from ipfs/fix/5859

make: fix building source tarball on macos
......@@ -5,7 +5,11 @@
set -euo pipefail
IFS=$'\n\t'
OUTPUT="$(readlink -f "${1:-go-ipfs-source.tar.gz}")"
# readlink doesn't work on macos
OUTPUT="${1:-go-ipfs-source.tar.gz}"
if ! [[ "$OUTPUT" = /* ]]; then
OUTPUT="$PWD/$OUTPUT"
fi
TMPDIR="$(mktemp -d)"
NEWIPFS="$TMPDIR/src/github.com/ipfs/go-ipfs"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论