about summary refs log tree commit diff
path: root/converter/other/anytopnm
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/anytopnm')
-rwxr-xr-xconverter/other/anytopnm2
1 files changed, 1 insertions, 1 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"