Show
Ignore:
Timestamp:
08.06.2010 23:16:41 (9 years ago)
Author:
davidb
Message:

Tweaks to Unix and Dos support files

Location:
other-projects/cascade-make/trunk/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • other-projects/cascade-make/trunk/lib/cascade-lib.bash

    r22130 r22245  
     1 
     2if test $# -gt "0" ; then 
     3  if test -z ${1##GEXT*} ; then 
     4     
     5    ext=$1 ; shift 
     6    reldir=$1 ; shift 
     7    eval exthome=`echo \\$$ext` 
     8    if test -z "$exthome" ; then 
     9      echo "Environment variable $1 for Greenstone extension not set" 
     10      echo "Sourcing $reldir/setup.bash" 
     11      source $reldir/setup.bash 
     12    fi 
     13  fi 
     14fi 
    115 
    216if test -z $GSDLOS ; then 
     
    721    GSDLOS=windows 
    822  fi 
     23  echo "GSDLOS was not set.  Setting it to '$GSDLOS'" 
    924  export GSDLOS 
    1025fi 
     
    144159 
    145160 
    146  
    147161force_untar=0 
    148162auto_untar=0 
  • other-projects/cascade-make/trunk/lib/cascade-lib.bat

    r22122 r22245  
    11@echo off 
    22 
    3 if "x%GSDLOS%" == "x" ( 
     3if "%GSDLOS%" == "" ( 
    44  set GSDLOS=windows 
    55)