mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 16:50:23 -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)
|
||||
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%/*}"
|
||||
### END: VARIABLES ###
|
||||
|
||||
|
|
Loading…
Reference in a new issue