提交 a2eb40c4 作者: Scott Bigelow

Allow install.sh to be run without being the script dir

License: MIT
Signed-off-by: 's avatarScott Bigelow <epheph@gmail.com>
上级 59a8e658
......@@ -3,7 +3,9 @@
# Installation script for ipfs. It tries to move $bin in one of the
# directories stored in $binpaths.
bin=ipfs
INSTALL_DIR=`dirname $0`
bin=$INSTALL_DIR/ipfs
binpaths="/usr/local/bin /usr/bin"
# This variable contains a nonzero length string in case the script fails
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论