blob: f4308fc099e3355cbf88d558c1db1098018ee2c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/bash
source /eng/ssb/auto/astroconda/include/midnight_special.sh
source /eng/ssb/auto/astroconda/include/pre-common.sh
hostname=`hostname`
case "$hostname" in
ssbwebv1*)
echo processing okify records in pandokia database
;;
*)
echo $hostname cannot perform this action
exit 1
;;
esac
# The only 'irafdev' gave us that we actually needed...
export PATH=/usr/stsci/pyssgdev/Python-2.7.1/bin:$PATH
export PYTHONPATH=/home/iraf/py/lib/python:/usr/stsci/pyssgdev/2.7.1.stsci_python:/usr/stsci/pyssgdev/2.7.1
# Pandokia specific (rather not clobber these together)
export N=82
export PATH=/ssbwebv1/data2/pandokia/c$N/bin:$PATH
export PYTHONPATH=/ssbwebv1/data2/pandokia/c$N/lib/python/:$PYTHONPATH
which pdk
set -x
pdk ok
set +x
exit $?
|