From f9278b7e686e817165754f08865ed30212e8038f Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 30 Jan 2014 00:47:44 +0000 Subject: [PATCH] Remove unused 'install_tsc' script --- platform/posix/SConscript | 4 --- platform/posix/bin/install_tsc | 59 ---------------------------------- 2 files changed, 63 deletions(-) delete mode 100755 platform/posix/bin/install_tsc diff --git a/platform/posix/SConscript b/platform/posix/SConscript index ca3aac54b..028422f14 100644 --- a/platform/posix/SConscript +++ b/platform/posix/SConscript @@ -130,7 +130,3 @@ localenv['pc_cflags'] = ' '.join(pc_cflags) pc = build(localenv.SubstFile('cantera.pc', 'cantera.pc.in')) install('$inst_libdir/pkgconfig', pc) - -# @deprecated The install_tsc script is unused and should be removed -if localenv['layout'] != 'debian': - install('$inst_bindir', '#platform/posix/bin/install_tsc') diff --git a/platform/posix/bin/install_tsc b/platform/posix/bin/install_tsc deleted file mode 100755 index a452a136f..000000000 --- a/platform/posix/bin/install_tsc +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh -# -# install_ts source DEST_DIR' -# -# Install a file checking the time step first -# -# HKM -> openBSD doesn't have a -v option -# -if test $# -ne 2 ; then - echo 'install_ts ERROR: This program requires 2 and only 2 parameters:' - echo ' install_ts source DEST_DIR' - exit -1 -fi -lh=$1 -INCDIR=$2 -# -VERBOSE=-v -verbose='y' -if test "x$VERBOSE" = "x-v" ; then - verbose= -fi -INSTALL_XV="/usr/bin/install -c -m 755 -c $VERBOSE " -INSTALL_V="/usr/bin/install -c -m 644 -c $VERBOSE " -# -# If the destination directory doesn't exist yet, create it -# -if test ! -d $INCDIR ; then - /usr/bin/install -c -d $INCDIR -fi -th="${INCDIR}"/"${lh}" ; -if test ! -f "${lh}" ; then - echo 'install_ts ERROR: the file, ' ${lh} ', does not exist' - exit -1 -fi -if test ! -f "${th}" ; then - if test -x "${lh}" ; then - $INSTALL_XV "${lh}" "${th}" - else - $INSTALL_V "${lh}" "${th}" - fi - if test x"$verbose" = xy ; then - echo "${lh}" ' -> ' "${th}" - fi -else -# if test "${lh}" -nt "${th}" ; then - /ascldap/users/hkmoffa/Cantera/gc/canteraLiquidTransportDevelop/bin/tscompare "${lh}" "${th}" - res=$? - if test "$res" = "0" ; then - if test -x "${lh}" ; then - $INSTALL_XV "${lh}" "${th}" - else - $INSTALL_V "${lh}" "${th}" - fi - if test x"$verbose" = xy ; then - echo "${lh}" ' -> ' "${th}" - fi - fi -fi -exit 0