diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-12-03 17:31:57 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-12-03 17:31:57 +0000 |
commit | a25d2a0e45288162a67e2c6741af0f82de9a4a53 (patch) | |
tree | b7c0e90baa2d03ec79bee52ea2e48f2b90db912b /converter/other | |
parent | 5d6710990fcfc5c670241042e9cfc8a5fc4f98d2 (diff) | |
download | netpbm-mirror-a25d2a0e45288162a67e2c6741af0f82de9a4a53.tar.gz netpbm-mirror-a25d2a0e45288162a67e2c6741af0f82de9a4a53.tar.xz netpbm-mirror-a25d2a0e45288162a67e2c6741af0f82de9a4a53.zip |
Fix unquoted filename, causing problems with filename with spaces
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3710 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rwxr-xr-x | converter/other/anytopnm | 2 |
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" |