source: CCCC/trunk/userinst.sh @ 180

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CCCC/trunk/userinst.sh@180
Revision 180, 347 bytes checked in by mjuckes, 6 years ago (diff)

merged from branches-mnj (which was branched from branches-sp)

RevLine 
[179]1
2
3
4target=$HOME/bin/ceda_cc
5
6echo Creating bash script in $target
7cat > $target << EOF
8#!/bin/bash
9# CEDA CC entry script
10# To execute python scripts in $PWD/ceda_cc
11# License file: $PWD/LICENSE
12# Vocabularies: $PWD/ceda_cc/config
13
14if [ \$1 == '-h' ];
15  then
16  cat $PWD/README.txt
17  exit
18fi
19
20python $PWD/ceda_cc/c4.py \$*
21EOF
22
23chmod u+x $target 
Note: See TracBrowser for help on using the repository browser.