IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31088


Ignore:
Timestamp:
Mar 30, 2011, 9:39:57 AM (15 years ago)
Author:
eugene
Message:

merging changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psconfig/psbuild

    r30601 r31088  
    409409
    410410    print STDOUT "** if you use sh, bash or equivalent as your shell, add the following to your .bashrc\n";
    411     print STDOUT "    if [ -f $psconfdir/psconfig.csh ]; then\n";
    412     print STDOUT "      alias psconfig='source $psconfdir/psconfig.bash'\n";
    413     print STDOUT "    else\n";
    414     print STDOUT "      alias psconfig='echo psconfig not available'\n";
    415     print STDOUT "    fi\n";
    416     print STDOUT "    source $psconfdir/psconfig.bash default\n";
     411    print STDOUT "    if [ -e $psconfdir/psconfig.bash ] ; then";
     412    print STDOUT "        psconfig () {";
     413    print STDOUT "            source $psconfdir/psconfig.bash";
     414    print STDOUT "        }";
     415    print STDOUT "    else";
     416    print STDOUT "        psconfig () {";
     417    print STDOUT "            echo psconfig not available";
     418    print STDOUT "        }";
     419    print STDOUT "    fi";
     420    print STDOUT "    psconfig default\n";
    417421    print STDOUT "\n";
    418422
Note: See TracChangeset for help on using the changeset viewer.