Commit 7219481e authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: put PROGNAME set to init_eget func

parent 01aba5f3
......@@ -21,6 +21,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
init_eget()
{
PROGDIR=$(dirname "$0")
PROGNAME=$(basename "$0")
CMDSHELL="/bin/sh"
......@@ -29,6 +31,8 @@ if [ "$0" = "/dev/stdin" ] || [ "$0" = "sh" ] ; then
PROGDIR=""
PROGNAME=""
fi
}
init_eget
fatal()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment