Improve MacPorts update script and documentation based on feedback in https://trac.macports.org/ticket/48464

This commit is contained in:
tlimoncelli@stackexchange.com
2015-07-31 15:36:55 -04:00
parent dd494be320
commit 8fab12de6b
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ github.setup and checksums updated.```
* Type: `update`
* Component: `ports`
* Port: `vcs_blackbox`
* Keywords: `maintainer`
* Keywords: `maintainer haspatch`
* Attach this file: `Portfile-vcs_blackbox.diff`
Step 3: Watch for the update to happen.

View File

@@ -43,7 +43,7 @@ fi
# Generate the diff
cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/vcs_blackbox/Portfile /var/tmp/ports/security/vcs_blackbox/Portfile.orig
( cd /var/tmp/ports/security/vcs_blackbox && diff -u Portfile.orig Portfile ) > Portfile-vcs_blackbox.diff
( cd /var/tmp/ports/security/vcs_blackbox && diff --ignore-matching-lines='Id:' -u Portfile.orig Portfile ) > Portfile-vcs_blackbox.diff
open -R Portfile-vcs_blackbox.diff
echo
@@ -62,6 +62,6 @@ github.setup and checksums updated.
Type: update
Component: ports
Port: vcs_blackbox
Keywords: maintainer
Keywords: maintainer haspatch
"
echo 'Attach: Portfile-vcs_blackbox.diff'