[SVN] r776 - in /trunk/cyrus-imapd-2.2.13/debian: changelog examples/mboxtocyrus
debian at incase.de
debian at incase.de
Wed Jun 3 10:02:13 UTC 2009
Author: sven
Date: Wed Jun 3 12:02:11 2009
New Revision: 776
URL: https://mail.incase.de/viewcvs?rev=776&root=cyrus22&view=rev
Log:
change example script mbox2cyrus to remove bashisms (Closes: #489558)
Modified:
trunk/cyrus-imapd-2.2.13/debian/changelog
trunk/cyrus-imapd-2.2.13/debian/examples/mboxtocyrus
Modified: trunk/cyrus-imapd-2.2.13/debian/changelog
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/changelog?rev=776&root=cyrus22&r1=775&r2=776&view=diff
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/changelog (original)
+++ trunk/cyrus-imapd-2.2.13/debian/changelog Wed Jun 3 12:02:11 2009
@@ -1,7 +1,7 @@
cyrus-imapd-2.2 (2.2.13-15) UNRELEASED; urgency=low
- * change shebang line of example script mbox2cyrus to using /bin/bash
- instead of /bin/sh (Closes: #489558)
+ * change example script mbox2cyrus to remove bashisms (Closes: #489558,
+ thanks to Andres Mejia)
* change Makefile so that no (intended) non-phony target invokes a phony
target. Also remove empty lines inside rules or replace them by comment
lines
Modified: trunk/cyrus-imapd-2.2.13/debian/examples/mboxtocyrus
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/examples/mboxtocyrus?rev=776&root=cyrus22&r1=775&r2=776&view=diff
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/examples/mboxtocyrus (original)
+++ trunk/cyrus-imapd-2.2.13/debian/examples/mboxtocyrus Wed Jun 3 12:02:11 2009
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Script to import mbox-format mailboxes to Cyrus folders
# Requires formail (from procmail)
@@ -54,11 +54,11 @@
-if [ "$MAILBOX" == "" ]; then
+if [ "$MAILBOX" = "" ]; then
MAILBOX=$USER
fi
-if [ "$CYRUSFOLDER" == "" ]; then
+if [ "$CYRUSFOLDER" = "" ]; then
echo "Adding mailbox '$MAILBOX' to Cyrus INBOX of user '$USER'..."
$FORMAIL -I "From " < $MAILBOX -s $CYRDELIVER $USER
else
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list