fix self update

This commit is contained in:
Heavybullets8 2022-07-20 06:35:32 -06:00
parent 9241f27c2d
commit d3fe6a6954

View File

@ -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