summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-07-16 11:15:15 +0100
committerTim Watson <tim@rabbitmq.com>2012-07-16 11:15:15 +0100
commit70e39ca6ccf50ae8b2ff10afaff885c2d98edb31 (patch)
tree1ce52cc7a711ae0ecfc4b760ded640cef3c99fad /packaging
parent6ba236af1a5bc4e6c74c932c314d8d73706d4f28 (diff)
parenta8aa180d3ee05f2bbf2c75aed3b86fad7d070950 (diff)
downloadrabbitmq-server-git-70e39ca6ccf50ae8b2ff10afaff885c2d98edb31.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