about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xconverter/other/anytopnm2
-rw-r--r--doc/HISTORY5
-rw-r--r--version.mk2
3 files changed, 7 insertions, 2 deletions
diff --git a/converter/other/anytopnm b/converter/other/anytopnm
index e5de85cc..5409bccd 100755
--- a/converter/other/anytopnm
+++ b/converter/other/anytopnm
@@ -527,7 +527,7 @@ if [ $# -gt 1 ] ; then
          "input file name." 1>&2
     exit 1
 elif [ $# -eq 1 ] ; then
-    if [ $1 = "--version" -o $1 = "-version" ] ; then
+    if [ "$1" = "--version" -o "$1" = "-version" ] ; then
         pamtopnm --version ; exit $?
     else 
         inputFile="$1"
diff --git a/doc/HISTORY b/doc/HISTORY
index 3b5030e2..a2a1a52f 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,11 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+19.12.03 BJH  Release 10.86.07
+
+              anytopnm: Fix unpredictable behavior when file name contains
+              spaces.
+
 19.09.28 BJH  Release 10.86.06
 
               jpeg2ktopam, pamtojpeg2k: fix negative array index.  Always
diff --git a/version.mk b/version.mk
index 5b941c50..ecef0485 100644
--- a/version.mk
+++ b/version.mk
@@ -1,3 +1,3 @@
 NETPBM_MAJOR_RELEASE = 10
 NETPBM_MINOR_RELEASE = 86
-NETPBM_POINT_RELEASE = 6
+NETPBM_POINT_RELEASE = 7