[118021] trunk/dports/devel/git-extras/files/patch-remove-auto-updater.diff

raimue at macports.org raimue at macports.org
Wed Mar 19 08:14:20 PDT 2014


Revision: 118021
          https://trac.macports.org/changeset/118021
Author:   raimue at macports.org
Date:     2014-03-19 08:14:20 -0700 (Wed, 19 Mar 2014)
Log Message:
-----------
devel/git-extrax:
Add missing patch for r118012

Revision Links:
--------------
    https://trac.macports.org/changeset/118012

Added Paths:
-----------
    trunk/dports/devel/git-extras/files/patch-remove-auto-updater.diff

Added: trunk/dports/devel/git-extras/files/patch-remove-auto-updater.diff
===================================================================
--- trunk/dports/devel/git-extras/files/patch-remove-auto-updater.diff	                        (rev 0)
+++ trunk/dports/devel/git-extras/files/patch-remove-auto-updater.diff	2014-03-19 15:14:20 UTC (rev 118021)
@@ -0,0 +1,25 @@
+--- bin/git-extras.orig	2014-03-19 11:23:28.000000000 +0100
++++ bin/git-extras	2014-03-19 11:27:30.000000000 +0100
+@@ -3,17 +3,11 @@
+ VERSION="1.9.0"
+ 
+ update() {
+-  local bin=$(which git-extras)
+-  local prefix=${bin%/*/*}
+-  local orig=$PWD
+-
+-  cd /tmp \
+-    && rm -fr ./git-extras \
+-    && git clone --depth 1 https://github.com/visionmedia/git-extras.git \
+-    && cd git-extras \
+-    && PREFIX="$prefix" make install \
+-    && cd "$orig" \
+-    && echo "... updated git-extras $VERSION -> $(git extras --version)"
++  echo "Please run the following commands to update your installation of git-extras to the latest version provided by MacPorts:"
++  echo ""
++  echo "    sudo port selfupdate"
++  echo "    sudo port upgrade git-extras"
++  echo ""
+ }
+ 
+ case "$1" in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140319/d80eb001/attachment.html>


More information about the macports-changes mailing list