source: CCCC/branches/branch-mnj/userinst.sh @ 179

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

Added user installation script

Line 
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.