Changeset 13098 for trunk/source/scripts


Ignore:
Timestamp:
Oct 23, 2009, 11:38:58 PM (10 years ago)
Author:
gb
Message:

Move contributed ccl/ccl64 shell scripts to contrib/rittweiler. Revert
to pre-contributed (simpler, less flexible) versions in scripts, both
to avoid issues with platforms (Solaris 10) where /bin/sh doesn't refer
to a POSIX shell and to avoid the need for documentation changes.

Location:
trunk/source/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/scripts/ccl

    r13066 r13098  
    22#
    33# Change the definition of CCL_DEFAULT_DIRECTORY below to refer to
    4 # your Clozure CL installation directory. 
     4# your OpenMCL installation directory. 
    55# Any definition of CCL_DEFAULT_DIRECTORY already present in the environment
    66# takes precedence over definitions made below.
    77
    8 probe()
    9 {
    10     if [ -e "$1"  -a  -e "$1/scripts/ccl" ]; then
    11         CCL_DEFAULT_DIRECTORY="$1"
    12     fi
    13 }
    14 
    15 if [ -z "$CCL_DEFAULT_DIRECTORY"  -a  -n "`which readlink`" ]; then
    16     dir="`readlink $0`"
    17     probe "${dir%/scripts/ccl}"
    18 fi
    19 
    208if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
    21     probe "`pwd`"
    22 fi
    23 
    24 if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
    25     probe "/usr/local/src/ccl"
    26 fi
    27 
    28 if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
    29     echo "Can't find CCL directory.  Please edit $0 or"
    30     echo "set the environment variable CCL_DEFAULT_DIRECTORY"
    31     echo "and try again."
    32     exit 1
     9  CCL_DEFAULT_DIRECTORY=/usr/local/src/ccl
    3310fi
    3411
     
    4017DD=${CCL_DEFAULT_DIRECTORY}
    4118
    42 # If you don't want to guess the name of the Clozure CL kernel on
     19# If you don't want to guess the name of the OpenMCL kernel on
    4320# every invocation (or if you want to use a kernel with a
    4421# non-default name), you might want to uncomment and change
  • trunk/source/scripts/ccl64

    r13066 r13098  
    22#
    33# Change the definition of CCL_DEFAULT_DIRECTORY below to refer to
    4 # your Clozure CL installation directory. 
     4# your OpenMCL installation directory. 
    55# Any definition of CCL_DEFAULT_DIRECTORY already present in the environment
    66# takes precedence over definitions made below.
    77
    8 probe()
    9 {
    10     if [ -e "$1"  -a  -e "$1/scripts/ccl64" ]; then
    11         CCL_DEFAULT_DIRECTORY="$1"
    12     fi
    13 }
    14 
    15 if [ -z "$CCL_DEFAULT_DIRECTORY"  -a  -n "`which readlink`" ]; then
    16     dir="`readlink $0`"
    17     probe "${dir%/scripts/ccl64}"
    18 fi
    19 
    208if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
    21     probe "`pwd`"
    22 fi
    23 
    24 if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
    25     probe "/usr/local/src/ccl"
    26 fi
    27 
    28 if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
    29     echo "Can't find CCL directory.  Please edit $0 or"
    30     echo "set the environment variable CCL_DEFAULT_DIRECTORY"
    31     echo "and try again."
    32     exit 1
     9  CCL_DEFAULT_DIRECTORY=/usr/local/src/ccl
    3310fi
    3411
     
    3815DD=${CCL_DEFAULT_DIRECTORY}
    3916
    40 # If you don't want to guess the name of the Clozure CL kernel on
     17# If you don't want to guess the name of the OpenMCL kernel on
    4118# every invocation (or if you want to use a kernel with a
    4219# non-default name), you might want to uncomment and change
Note: See TracChangeset for help on using the changeset viewer.