mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 12:26:45 +00:00
Allow running sparrow
script from other paths
IIUC, it currently assumes that it's run locally using `./sparrow`.
This commit is contained in:
parent
2fa47e640d
commit
581aaf288e
1 changed files with 1 additions and 0 deletions
1
sparrow
1
sparrow
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
cd `dirname $0`
|
||||||
args="$*"
|
args="$*"
|
||||||
args="${args%"${args##*[![:space:]]}"}"
|
args="${args%"${args##*[![:space:]]}"}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue