Răsfoiți Sursa

added selfname to bottom

Daniel Gibbs 10 ani în urmă
părinte
comite
dfafa3364e
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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.";;
 		* ) echo "Please answer yes or no.";;
 	esac
 	esac
 	done
 	done
+	function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 fi
 fi
+
 core_exit.sh
 core_exit.sh