- Timestamp:
- 09/26/05 10:22:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/asap
r689 r691 44 44 if [ ! -d "${ASAPDATA}" ]; then 45 45 echo "Couldn't locate the asap data directory" 46 ASAPDATA="/nfs/aips++"46 #ASAPDATA="/nfs/aips++" 47 47 #export ASAPDATA 48 48 #exit 1 … … 55 55 platform='darwin' 56 56 fi 57 AIPSPATH="${ASAPDATA} ${platform} somewhere localhost" 57 AIPSPATH="${ASAPDATA} ${platform} somewhere localhost" 58 58 export AIPSPATH 59 59 else … … 63 63 64 64 # started for the first time 65 ASAPUSERDIR="${HOME}/.asap" 65 ASAPUSERDIR="${HOME}/.asap"; export ASAPUSERDIR 66 66 if [ ! -d ${ASAPUSERDIR} ]; then 67 67 echo 'First time ASAP use. Setting up ~/.asap' 68 68 mkdir "${ASAPUSERDIR}" 69 cp " /tmp/ipythonrc-asap" "${ASAPUSERDIR}/"70 #cp "${ASAPDATA}/ipythonrc-asap" "${ASAPUSERDIR}/"69 cp "${ASAPDATA}/ipythonrc-asap" "${ASAPUSERDIR}/" 70 echo "#Dummy placeholder. All info is in ipythonrc-asap" > "${ASAPUSERDIR}/ipythonrc" 71 71 touch "${ASAPUSERDIR}/asapuserfuncs.py" 72 72 fi … … 79 79 p="`which python`" 80 80 $p -c 'from asap import *' 81 else 81 else 82 82 $ip -ipythondir "${ASAPUSERDIR}" -p 'asap' $* 83 83 fi
Note:
See TracChangeset
for help on using the changeset viewer.