mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-07 09:17:49 +08:00
Allow install.sh to be run without being the script dir
License: MIT Signed-off-by: Scott Bigelow <epheph@gmail.com>
This commit is contained in:
parent
59a8e658dd
commit
a2eb40c423
4
cmd/ipfs/dist/install.sh
vendored
4
cmd/ipfs/dist/install.sh
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user