From 7ac6ddf4c4851590fea07992dcddc13bfe3c8f79 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Tue, 20 Jul 2004 12:53:21 +0000 Subject: [PATCH] get dir without having to rely on OEDIR --- bin/commander/appinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/commander/appinfo.py b/bin/commander/appinfo.py index 7adb1527..78f2dbf1 100644 --- a/bin/commander/appinfo.py +++ b/bin/commander/appinfo.py @@ -4,5 +4,5 @@ hostos = os.uname()[2] appname = "OpenEmbedded Commander" appversion = "0.0.2" appcaption = "%s V%s on %s (%s)" % ( appname, appversion, hostname, hostos ) -imageDir = "%s/bin/commander/images/" % os.environ["OEDIR"] +imageDir = "%s/images/" % os.path.dirname( __file__ ) -- 2.20.1