get dir without having to rely on OEDIR
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Tue, 20 Jul 2004 12:53:21 +0000 (12:53 +0000)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Tue, 20 Jul 2004 12:53:21 +0000 (12:53 +0000)
bin/commander/appinfo.py

index 7adb152..78f2dbf 100644 (file)
@@ -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__ )