Skip to content

Commit

Permalink
Fix detection of cygwin system.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Dec 5, 2010
1 parent 4787acd commit 969ba4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boost_py/exception.sh
Expand Up @@ -4,7 +4,7 @@ set -e
# exception_translator.html
# ----------------------------------------------------------------------
python_version=`ls /usr/include | grep python | sed -e 's/python//'`
system=`uname | sed -e s/\(......\).*/\1/`
system=`uname | sed -e 's/\(......\).*/\1/'`
if [ "$system" == "CYGWIN" ]
then
extra_compile="-Wl,--enable-auto-image-base"
Expand Down
2 changes: 1 addition & 1 deletion boost_py/simple.sh
Expand Up @@ -4,7 +4,7 @@ set -e
# http://wiki.python.org/moin/boost.python/SimpleExample
# ----------------------------------------------------------------------
python_version=`ls /usr/include | grep python | sed -e 's/python//'`
system=`uname | sed -e s/\(......\).*/\1/`
system=`uname | sed -e 's/\(......\).*/\1/'`
if [ "$system" == "CYGWIN" ]
then
extra_compile="-Wl,--enable-auto-image-base"
Expand Down

0 comments on commit 969ba4a

Please sign in to comment.