Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Apr 1, 2024
1 parent 7a4af39 commit f7a42e1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makesurefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f7a42e1

Please sign in to comment.