From 1d61d8dcee86b46efd2a51cef2775665f62c4183 Mon Sep 17 00:00:00 2001 From: Antranig Vartanian Date: Wed, 18 Jun 2025 13:49:28 +0400 Subject: [PATCH] vix 0.1.2 Make sure that %projdir% is converted to Project Root for running commands as well --- vix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vix b/vix index 6080f3c..2f84be2 100755 --- a/vix +++ b/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"