Changeset 37350


Ignore:
Timestamp:
2023-02-24T13:23:47+13:00 (14 months ago)
Author:
davidb
Message:

Changed to work more generic named PREPARE script, as Darwin is the same as Linux in the case

File:
1 edited

Legend:

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

    r36649 r37350  
    5050echo ""
    5151if [ ! -d $installed_dir ] ; then
    52     echo "Runing the $selfcon_ext/PREPARE-${OS_ALLCAPS}.sh"
     52    echo "Runing the $selfcon_ext/PREPARE-UNIX.sh"
    5353
    54     cd $selfcon_ext && ./PREPARE-${OS_ALLCAPS}.sh
     54    cd $selfcon_ext && ./PREPARE-UNIX.sh
    5555
    5656    if [ $? != 0 ] ; then
    5757    echo "Error encountered running: " 1>&2
    58     echo "        cd $selfcon_ext && ./PREPARE-${OS_ALLCAPS}.sh" 1>&2
     58    echo "        cd $selfcon_ext && ./PREPARE-UNIX.sh" 1>&2
    5959    exit 1
    6060    fi
     
    6262else
    6363    echo "Detected directory '$installed_dir'"
    64     echo "=> Taken to mean that the $selfcon_ext/PREPARE-${OS_ALLCAPS}.sh command has already been run"   
     64    echo "=> Taken to mean that the $selfcon_ext/PREPARE-UNIX.sh command has already been run"   
    6565fi
    6666
Note: See TracChangeset for help on using the changeset viewer.