mirror of
https://github.com/vishapoberon/vix.git
synced 2026-04-05 20:32:24 +00:00
vix 0.1.2
Make sure that %projdir% is converted to Project Root for running commands as well
This commit is contained in:
parent
88b36af849
commit
1d61d8dcee
1 changed files with 3 additions and 2 deletions
5
vix
5
vix
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# set global variables
|
||||
PROGNAME=${0##*/}
|
||||
VERSION="0.1.1"
|
||||
VERSION="0.1.2"
|
||||
|
||||
COLOUR_SET_R="\033[0;31m"
|
||||
COLOUR_SET_G="\033[0;32m"
|
||||
|
|
@ -317,7 +317,8 @@ _run_cmds() {
|
|||
run_line=$(
|
||||
grep -E "^${key}[[:space:]]*=" vipakfile \
|
||||
| cut -d= -f2- \
|
||||
| sed -e 's/^[[:space:]]*//'
|
||||
| sed -e 's/^[[:space:]]*//' \
|
||||
-e "s|%projdir%|${PROJECT_ROOT}|g"
|
||||
)
|
||||
[ -n "$run_line" ] || perror "${key} not set in vipakfile"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue