1
--- pitivi-0.13.3.orig/bin/pitivi.in 2009-12-17 00:22:50.000000000 +0100
2
+++ pitivi-0.13.3/bin/pitivi.in 2009-12-17 00:43:42.000000000 +0100
7
-# Check if we're in development or installed version
8
# Add the path of pitivi stuff
9
# TODO : change it when it's finally in cvs
12
return '/'.join(os.path.dirname(os.path.abspath(__file__)).split('/')[:-1])
15
- rd = _get_root_dir()
16
- return (os.path.exists(os.path.join(rd, '.svn')) or
17
- os.path.exists(os.path.join(rd, 'CVS')) or
18
- os.path.exists(os.path.join(rd, '.git')))
20
def _add_pitivi_path():
22
dir = os.path.dirname(os.path.abspath(__file__))
25
- root = os.path.split(dir)[0]
26
- localedir = os.path.join(os.path.split(dir)[0], 'locale')
28
- root = os.path.join(LIBDIR, 'pitivi', 'python')
29
- localedir = "@DATADIR@/locale"
30
+ root = os.path.join(LIBDIR, 'pitivi', 'python')
31
+ localedir = "@DATADIR@/locale"
33
if not root in sys.path:
34
sys.path.insert(0, root)