Changeset 797


Ignore:
Timestamp:
Dec 3, 2007 11:36:42 PM (12 years ago)
Author:
lou
Message:

Cygwin returns '/' in the system_details string. Escape properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/compile_Unix_ASL.in

    r792 r797  
    2929done
    3030
    31 # Acquire the system details.
     31# Acquire the system details. On some systems (Cygwin, for example), this
     32# string will contain '/' characters, so escape them properly.
    3233
    33 sys_details=`uname -sr`
     34sys_details=`uname -sr | sed -e 's/\\//\\\\\\//g'`
    3435
    3536sed -e "/sysdetails_ASL/s/System_details/$sys_details/" details.c0 > details.c
Note: See TracChangeset for help on using the changeset viewer.