Changeset 10240


Ignore:
Timestamp:
Jul 29, 2008, 11:40:26 AM (11 years ago)
Author:
gb
Message:

Handle Cygwin, Windows paths. Set DD convenience variable later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/win64/scripts/ccl64

    r7758 r10240  
    1010fi
    1111
    12 # This is shorter (& easier to type), making the invocation below
    13 # a little easier to read.
    14 
    15 DD=${CCL_DEFAULT_DIRECTORY}
    1612
    1713# If you don't want to guess the name of the OpenMCL kernel on
     
    2521
    2622if [ -z "$OPENMCL_KERNEL" ]; then
    27   case `uname -s` in
     23    case `uname -s` in
    2824    Darwin)
    2925    case `arch` in
     
    6157    esac
    6258    ;;
     59    CYGWIN*)
     60    OPENMCL_KERNEL=wx86cl64.exe
     61    CCL_DEFAULT_DIRECTORY="C:/cygwin$CCL_DEFAULT_DIRECTORY"
     62    ;;
    6363    *)
    6464    echo "Can't determine host OS.  Fix this."
     
    6868fi
    6969
     70# This is shorter (& easier to type), making the invocation below
     71# a little easier to read.
     72
     73DD=${CCL_DEFAULT_DIRECTORY}
     74
    7075CCL_DEFAULT_DIRECTORY=${DD} exec ${DD}/${OPENMCL_KERNEL} "$@"
    7176
Note: See TracChangeset for help on using the changeset viewer.