diff --git a/cmd/ipfs/dist/install.sh b/cmd/ipfs/dist/install.sh index 9f673d05d59b..2cdfce1a291e 100755 --- a/cmd/ipfs/dist/install.sh +++ b/cmd/ipfs/dist/install.sh @@ -15,6 +15,7 @@ is_write_perm_missing="" for raw in $binpaths; do # Expand the $HOME variable. binpath=$(eval echo "$raw") + mkdir -p $binpath if mv "$bin" "$binpath/ipfs" ; then echo "Moved $bin to $binpath" exit 0