From 2d833edf30ae2ce124178cd30827330b6ac2a7c0 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 7 Feb 2014 12:38:28 -0500 Subject: [PATCH] bugfix: "plist" was included with package ids --- developer/bin/list_recent_pkg_ids | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer/bin/list_recent_pkg_ids b/developer/bin/list_recent_pkg_ids index e2c16af3a3..1220ea99e4 100755 --- a/developer/bin/list_recent_pkg_ids +++ b/developer/bin/list_recent_pkg_ids @@ -18,7 +18,7 @@ shopt -s nocasematch # case-insensitive regular expressions _list_recent_pkg_ids () { /bin/ls -t /var/db/receipts | \ /usr/bin/egrep '\.plist$' | \ - /usr/bin/perl -pe 's{\A.*/([^/]+)\.plist\Z}{$1}sg' | \ + /usr/bin/perl -pe 's{\A([^/]+)\.plist\Z}{$1}sg' | \ /usr/bin/egrep -v '^com\.apple\.' | \ /usr/bin/head -10 }