4
0
Эх сурвалжийг харах

fix: add execname to check_executable

Daniel Gibbs 3 жил өмнө
parent
commit
8a5c28ae9c

+ 1 - 0
lgsm/functions/check_executable.sh

@@ -8,6 +8,7 @@
 functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
 # Check if executable exists
+execname=$(basename "${executable}")
 if [ ! -f "${executabledir}/${execname}" ]; then
 	fn_print_fail_nl "executable was not found"
 	echo -e "* ${executabledir}/${execname}"