Browse Source

added selfname to bottom

Daniel Gibbs 10 năm trước cách đây
mục cha
commit
dfafa3364e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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