From f7a42e145e3016bec490805abb2f011e00d939c9 Mon Sep 17 00:00:00 2001 From: xonix Date: Mon, 1 Apr 2024 15:17:37 +0300 Subject: [PATCH] test with https://github.com/raygard/wak --- Makesurefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makesurefile b/Makesurefile index e37d154..e88c9cd 100644 --- a/Makesurefile +++ b/Makesurefile @@ -100,7 +100,15 @@ @doc 'runs all *.tush tests' @depends_on fhtagn_installed @use_lib awk_ver - [[ $EXE_NAME == 'awk' ]] && MAKESURE_AWK="/usr/bin/awk" || MAKESURE_AWK="$(pwd)/soft/${EXE_NAME}" + if [[ $EXE_NAME == 'awk' ]] + then + MAKESURE_AWK="/usr/bin/awk" + elif [[ $EXE_NAME == '/'* ]] + then + MAKESURE_AWK="$EXE_NAME" + else + MAKESURE_AWK="$(pwd)/soft/${EXE_NAME}" + fi export MAKESURE_AWK # [[ ! -e $MAKESURE_AWK ]] && echo "not found: $MAKESURE_AWK" && exit 1 awk_ver 'MAKESURE_AWK' "$MAKESURE_AWK" @@ -242,6 +250,10 @@ @depends_on installed_busybox @depends_on fhtagn @args 'busybox awk' +@goal tested_wak @private +#@depends_on installed_busybox TODO +@depends_on fhtagn @args '/home/xonix/soft/wak/exe/wak' + @goal installed_bwk @private @reached_if [[ -f soft/bwk ]] @depends_on soft_folder_created