summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-03-07 17:40:06 +0000
committerDavid Robillard <d@drobilla.net>2009-03-07 17:40:06 +0000
commite2736f329c2a3ffdaf4a5086dc78add3fab97b8a (patch)
treef25cd0e19ab1de06087d240f10abff2dfa60ab50 /wscript
parente865ad258c0f3dfcbc8a08d1501b5f28274c3461 (diff)
downloadpatchage-e2736f329c2a3ffdaf4a5086dc78add3fab97b8a.tar.gz
patchage-e2736f329c2a3ffdaf4a5086dc78add3fab97b8a.tar.bz2
patchage-e2736f329c2a3ffdaf4a5086dc78add3fab97b8a.zip
Fix path stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1947 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index d3f770b..6d6ddac 100644
--- a/wscript
+++ b/wscript
@@ -82,10 +82,10 @@ def configure(conf):
conf.env['APP_HUMAN_NAME'] = Options.options.patchage_human_name
if conf.env['BUNDLE']:
conf.define('PATCHAGE_DATA_DIR', os.path.join(
- conf.env['DATADIR'] + conf.env['APP_INSTALL_NAME']))
+ conf.env['DATADIR'], conf.env['APP_INSTALL_NAME']))
else:
conf.define('PATCHAGE_DATA_DIR', os.path.join(
- conf.env['DATADIR'] + conf.env['APP_INSTALL_NAME']))
+ conf.env['DATADIR'], conf.env['APP_INSTALL_NAME']))
conf.write_config_header('wafconfig.h')
@@ -168,8 +168,8 @@ def build(bld):
icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48']
for s in icon_sizes:
bld.install_as(
- os.path.normpath(bld.env['DATADIR'] + '/icons/hicolor/' + s + '/apps/'
- + bld.env['APP_INSTALL_NAME'] + '.png'),
+ os.path.join(bld.env['DATADIR'], 'icons', 'hicolor', s, 'apps',
+ bld.env['APP_INSTALL_NAME'], '.png'),
'icons/' + s + '/patchage.png')
def shutdown():