tag 445863 + patch
thanks

Scribit Géraud Meyer dies 08/10/2007 hora 19:54:
> == is not an operator for /usr/bin/[. It is one for the bash keyword [[.
> [ after an if in bash probably also is interpreted directly by bash.

The == operator seems the only bashism to me. if [ "a" = $1 ]; then ...
is perfectly accepted by dash. So the correction should just be:

diff -r 4f0b69b9911b debian/emacsen-install
--- a/debian/emacsen-install    Tue Oct 09 17:48:14 2007 +0200
+++ b/debian/emacsen-install    Tue Oct 09 17:52:57 2007 +0200
@@ -32,7 +32,7 @@ fi

 # in case of a failed installation .el symlinks are left behind, remove them
 if [ -d "${ELCDIR}" ] ; then
-  if [ "${ELCDIR}" == "" ] ; then
+  if [ "${ELCDIR}" = "" ] ; then
     echo ELCDIR is empty, emergency stop
     exit 1
   else

Quickly,
Pierre
-- 
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature

Reply via email to