]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dllar.sh
small optimization in wxConfigPathChanger: don't change the path if it is already...
[wxWidgets.git] / src / os2 / dllar.sh
index bfd57a330377dc63c5d390f18f043ae20f4eaf9a..8f49a04c412f2374ebee8fb4192009f2b62cd52c 100644 (file)
@@ -353,10 +353,10 @@ case $outFile in
 esac
 case $outimpFile in
 *.a)
-    outimpFile=\`basnam $outimpFile .a\`
+    outimpFile=`basnam $outimpFile .a`
     ;;
 *.lib)
-    outimpFile=\`basnam $outimpFile .lib\`
+    outimpFile=`basnam $outimpFile .lib`
     ;;
 *)
     ;;
@@ -409,7 +409,7 @@ done
 rm -f $defFile
 echo "LIBRARY `basnam $dllFile` $library_flags" >> $defFile
 dllFile="$dllFile.dll"
-if [ -n $description ]; then
+if [ ! -z $description ]; then
     echo "DESCRIPTION  \"${description}\"" >> $defFile
 fi
 echo "EXPORTS" >> $defFile