fix self update
This commit is contained in:
parent
9241f27c2d
commit
d3fe6a6954
@ -8,7 +8,7 @@ args=("$@")
|
|||||||
self_update() {
|
self_update() {
|
||||||
SCRIPT=$(readlink -f "$0")
|
SCRIPT=$(readlink -f "$0")
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
SCRIPTNAME="$0"
|
SCRIPTNAME="heavy_script.sh"
|
||||||
cd $SCRIPTPATH
|
cd $SCRIPTPATH
|
||||||
git fetch &> /dev/null
|
git fetch &> /dev/null
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user