diff options
author | Peter Andersson <[email protected]> | 2015-05-04 15:59:08 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2015-05-04 15:59:08 +0200 |
commit | d766187ac01d8b5a73926f2a32bdac44e5933a7a (patch) | |
tree | c16161654c87f0ee521f2259b65eee28c09de803 /lib/common_test/install.sh.in | |
parent | e14b011a35b39e12d75786b07f5fd27e09530dad (diff) | |
parent | 2eaa2e631fa546e37bae612020ca3e5aab9bcf03 (diff) | |
download | otp-d766187ac01d8b5a73926f2a32bdac44e5933a7a.tar.gz otp-d766187ac01d8b5a73926f2a32bdac44e5933a7a.tar.bz2 otp-d766187ac01d8b5a73926f2a32bdac44e5933a7a.zip |
Merge remote-tracking branch 'origin/peppe/common_test/remove_old_scripts'
* origin/peppe/common_test/remove_old_scripts:
Remove obsolete installation scripts and update documentation
OTP-12421
Diffstat (limited to 'lib/common_test/install.sh.in')
-rw-r--r-- | lib/common_test/install.sh.in | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/lib/common_test/install.sh.in b/lib/common_test/install.sh.in deleted file mode 100644 index 5108c7a259..0000000000 --- a/lib/common_test/install.sh.in +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh - -CT_ROOT=$1 -CT_VSN=@CT_VSN@ -TS_VSN=@TS_VSN@ - -if [ -z "$CT_ROOT" ] -then - echo "install.sh: need CT_ROOT (absolute) directory or 'local' as argument" - exit 1 -fi - -if [ $CT_ROOT = "local" ] -then - CT_DIR=`pwd` - cd priv - sed -e "s,@CTPATH@,$CT_DIR/ebin," \ - -e "s,@TSPATH@,$CT_DIR/../test_server/ebin," \ - run_test.in > bin/run_test - chmod 775 bin/run_test - echo "install successful, start script created in " $CT_ROOT/common_test-$CT_VSN/priv/bin -else - - if [ ! -d "$CT_ROOT" ] - then - echo "install.sh: CT_ROOT argument must be a valid directory" - exit 1 - fi - - if [ `echo $CT_ROOT | awk '{ print substr($1,1,1) }'` != "/" ] - then - echo "install.sh: need an absolute path to CT_ROOT" - exit 1 - fi - - if [ ! -d $CT_ROOT/common_test-$CT_VSN ] - then - echo "install.sh: The directory $CT_ROOT/common_test-$CT_VSN does not exist" - exit 1 - fi - - if [ -d $CT_ROOT/common_test-$CT_VSN/priv ] - then - cd $CT_ROOT/common_test-$CT_VSN/priv - sed -e "s;@CTPATH@;$CT_ROOT/common_test-$CT_VSN/ebin;" \ - -e "s;@TSPATH@;$CT_ROOT/test_server-$TS_VSN/ebin;" \ - run_test.in > bin/run_test - chmod 775 bin/run_test - echo "install successful, start script created in " $CT_ROOT/common_test-$CT_VSN/priv/bin - fi -fi - - |