Sfoglia il codice sorgente

added selfname to bottom

Daniel Gibbs 10 anni fa
parent
commit
dfafa3364e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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