summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorFrancesco Mazzoli <francesco@rabbitmq.com>2012-07-05 18:28:00 +0100
committerFrancesco Mazzoli <francesco@rabbitmq.com>2012-07-05 18:28:00 +0100
commit54b0b4bc26cb63e8b6d90eb3ce9f1b41180dff9b (patch)
tree566e29f58345cf74af0a3a264a9fc7e45b3ce67f /packaging
parent48c7fa88e07b145464c69105242a2d03b94be788 (diff)
parent63477af925d226c937aee6984c6380699ede0a11 (diff)
downloadrabbitmq-server-git-54b0b4bc26cb63e8b6d90eb3ce9f1b41180dff9b.tar.gz
merge default
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macports/make-port-diff.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/macports/make-port-diff.sh b/packaging/macports/make-port-diff.sh
index 3eb1b9f589..ac3afa4ee5 100755
--- a/packaging/macports/make-port-diff.sh
+++ b/packaging/macports/make-port-diff.sh
@@ -14,8 +14,10 @@ mkdir -p $dir/macports $dir/rabbitmq
cd $dir/macports
svn checkout http://svn.macports.org/repository/macports/trunk/dports/net/rabbitmq-server/ 2>&1 >/dev/null
-# Clear out the svn $id tag
-sed -i -e 's|^# \$.*$|# $Id$|' rabbitmq-server/Portfile
+# Clear out the svn $id tag from the Portfile (and avoid using -i)
+portfile=rabbitmq-server/Portfile
+sed -e 's|^# \$.*$|# $Id$|' ${portfile} > ${portfile}.new
+mv ${portfile}.new ${portfile}
# Get the files from the rabbitmq.com macports repo
cd ../rabbitmq