Skip to content

Commit

Permalink
STR#2028 new fix: replace ' by \" for the $compile var wrapping in fl…
Browse files Browse the repository at this point in the history
…tk-config.in.

Tested successfully on _both_ bash and sh shells,  on Mac OS X 10.5,linux fedora 4,latest cygwin/mingw.

Should also works under IRIX sh, please report feedback on other non bashed based unix platforms.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
fab672000 committed Aug 29, 2008
1 parent bfbfe8a commit d436a13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fltk-config.in
Expand Up @@ -246,16 +246,16 @@ fi
if test -n "$compile"; then
case "$compile" in
*.cxx)
prog="`basename '$compile' .cxx`"
prog="`basename \"$compile\" .cxx`"
;;
*.cpp)
prog="`basename '$compile' .cpp`"
prog="`basename \"$compile\" .cpp`"
;;
*.cc)
prog="`basename '$compile' .cc`"
prog="`basename \"$compile\" .cc`"
;;
*.C)
prog="`basename '$compile' .C`"
prog="`basename \"$compile\" .C`"
;;
*)
echo "ERROR: Unknown/bad C++ source file extension on \"$compile\"!"
Expand Down

0 comments on commit d436a13

Please sign in to comment.