STR #2028 fix: single quotes changed to double quotes around the variable $compile to make it interpreted, Thanks alvin

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Fabien Costantini 2008-08-28 18:12:23 +00:00
parent e77a5d14d8
commit 2718170bfd
1 changed files with 4 additions and 4 deletions

View File

@ -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\"!"