From 96114edb46487bf1fd528fbcbd54eae29a4fe898 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 5 Jun 2012 19:56:21 +0000 Subject: [PATCH] Fixed names of some executable scripts Also added shebang line to ctml_writer --- SConstruct | 8 ++++++-- interfaces/python/ctml_writer.py | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index da2ebd42e..639bbb89d 100644 --- a/SConstruct +++ b/SConstruct @@ -997,8 +997,12 @@ if 'install' in COMMAND_LINE_TARGETS: install('$inst_datadir', mglob(env, pjoin('data','inputs'), 'cti', 'xml')) # Converter scripts - install('$inst_bindir', 'interfaces/python/ck2cti.py') - install('$inst_bindir', 'interfaces/python/ctml_writer.py') + install(env.InstallAs, + pjoin('$inst_bindir','ck2cti2'), + 'interfaces/python/ck2cti.py') + install(env.InstallAs, + pjoin('$inst_bindir','ctml_writer'), + 'interfaces/python/ctml_writer.py') ### List of libraries needed to link to Cantera ### linkLibs = ['cantera'] diff --git a/interfaces/python/ctml_writer.py b/interfaces/python/ctml_writer.py index 1854890a4..c4ef4fb35 100644 --- a/interfaces/python/ctml_writer.py +++ b/interfaces/python/ctml_writer.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + ## # @file ctml_writer.py #