projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cee8e46
)
Remove unnecessary APPDIR variable; AppImage does this for us.
author
Carl Hetherington
<cth@carlh.net>
Tue, 2 Mar 2021 11:37:07 +0000
(12:37 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 2 Mar 2021 11:37:07 +0000
(12:37 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 588b2be27290b70c5c216417f31523400e21bb96..2bf20ed74a90a534ef939a57bb043df298b62fac 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-634,7
+634,6
@@
def make_appimage(target, nice_name, internal_name, version):
target.command('cp -r %s/share/libdcp/xsd build/%s.AppDir/usr/share/libdcp/' % (target.directory, nice_filename))
with open('build/%s.AppDir/AppRun' % nice_filename, 'w') as f:
print('#!/bin/bash', file=f)
target.command('cp -r %s/share/libdcp/xsd build/%s.AppDir/usr/share/libdcp/' % (target.directory, nice_filename))
with open('build/%s.AppDir/AppRun' % nice_filename, 'w') as f:
print('#!/bin/bash', file=f)
- print('export APPDIR="$(dirname "$(readlink -f "$0")")"', file=f)
print('export PATH=$APPDIR/usr/bin:$PATH', file=f)
print('export XDG_DATA_DIRS="$APPDIR/usr/share/:/usr/share/:$XDG_DATA_DIRS"', file=f)
print('"$APPDIR"/usr/bin/%s $@' % internal_name, file=f)
print('export PATH=$APPDIR/usr/bin:$PATH', file=f)
print('export XDG_DATA_DIRS="$APPDIR/usr/share/:/usr/share/:$XDG_DATA_DIRS"', file=f)
print('"$APPDIR"/usr/bin/%s $@' % internal_name, file=f)