Hello community,

here is the log from the commit of package enscript for openSUSE:Factory 
checked in at 2013-06-25 09:23:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/enscript (Old)
 and      /work/SRC/openSUSE:Factory/.enscript.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "enscript"

Changes:
--------
--- /work/SRC/openSUSE:Factory/enscript/enscript.changes        2013-04-29 
09:52:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.enscript.new/enscript.changes   2013-06-25 
14:39:53.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jun 24 09:48:11 UTC 2013 - [email protected]
+
+- Make spaces in file name work (bnc#824441) 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ enscript.sh ++++++
--- /var/tmp/diff_new_pack.1j7oOR/_old  2013-06-25 14:39:53.000000000 +0200
+++ /var/tmp/diff_new_pack.1j7oOR/_new  2013-06-25 14:39:53.000000000 +0200
@@ -13,8 +13,10 @@
 declare -a CMDLINE FILES
 
 unset ${!LC_*}
-ENC=$(LANG=${LANG%.*}; locale charmap 2> /dev/null)
+ENC=$(LANG=${LANG%.*} locale charmap 2> /dev/null < /dev/null)
 test "$ENC" = "ISO-8859-1"  && ENC=ISO-8859-15
+test "${ENC%%_*}" = "ANSI"  && ENC=ISO-8859-1
+test "$ENC" = "UTF-8"       && ENC=ISO-8859-1
 test "${LANG%.*}" = "en_US" && ENC=ISO-8859-1
 
 case "$@" in
@@ -103,7 +105,7 @@
     #
     # We have real files, maybe with spaces in their path name
     #
-    exec -a enscript enscript.bin -X $ENC --filter="[[ \$(file -b %s 
2>/dev/null) =~ 'UTF-8 Unicode text' ]] && iconv -c -f UTF-8 -t $ENC %s || cat 
%s" ${1+"$@"}
+    exec -a enscript enscript.bin -X $ENC --filter="[[ \$(file -b '%s' 
2>/dev/null) =~ 'UTF-8 Unicode text' ]] && iconv -c -f UTF-8 -t $ENC '%s' || 
cat '%s'" ${1+"$@"}
 fi
 
 #

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to