Parcourir la source

added selfname to bottom

Daniel Gibbs il y a 10 ans
Parent
commit
dfafa3364e
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      lgsm/functions/command_console.sh

+ 2 - 0
lgsm/functions/command_console.sh

@@ -45,5 +45,7 @@ else
 		* ) echo "Please answer yes or no.";;
 	esac
 	done
+	function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 fi
+
 core_exit.sh