mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-25 20:51:26 -05:00
Small improvement to the script naming technique
This commit is contained in:
parent
c79712cd4c
commit
6015a6778a
1 changed files with 1 additions and 1 deletions
2
update
2
update
|
@ -17,7 +17,7 @@ ERRORLOG="update-errors.log" # set the error log filename
|
||||||
|
|
||||||
# script variables (these should not be touched)
|
# script variables (these should not be touched)
|
||||||
VERSION=$(printf "%s.r%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)")
|
VERSION=$(printf "%s.r%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)")
|
||||||
SCRIPT_NAME=`echo "$0" | grep -o -e "[^\/]*$"`
|
SCRIPT_NAME=$(grep -o -e "[^\/]*$" <<< "$0")
|
||||||
SCRIPT_HOME="${0%/*}"
|
SCRIPT_HOME="${0%/*}"
|
||||||
### END: VARIABLES ###
|
### END: VARIABLES ###
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue