Changeset 36902


Ignore:
Timestamp:
2022-11-12T18:20:51+13:00 (18 months ago)
Author:
davidb
Message:

More generalized form of script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/ext-cli/get-selfcontained-nodejs.sh

    r36901 r36902  
    4141if [ "x$NODE_HOME" != "x$PWD/$installed_dir" ] ; then
    4242    echo ""
    43     echo "To use this installed version of Apache Ant, in the top-level Greenstone3 directory run:"
    44     echo "    source ./gs3-setup-cli.sh"
     43    if [ -f ../tools-setup-cli.sh ] ; then
     44    echo "To use this version of NodeJS (and the other installed selfcontained tools),"
     45    echo "then at the command-line enter:"
     46    echo "    cd .."
     47    echo ""
     48    echo "    . ./tools-setup-cli.sh"
     49    else
     50    echo "To use this version of NodeJS (and the other installed selfcontained exts),"
     51    echo "in the top-level Greenstone3 directory run:"
     52    echo ""
     53    echo "    . ./gs3-setup-cli.sh"
     54    fi   
    4555    echo ""
    4656else
Note: See TracChangeset for help on using the changeset viewer.