From 2748bfe22cd3f830693bbcda6a54372e379ef79d Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Thu, 6 Feb 2014 07:03:29 -0500 Subject: [PATCH] devscript: support pkg bundles (pkg is a dir) --- developer/bin/list_apps_in_pkg | 22 +++++++++++++--------- developer/bin/list_ids_in_pkg | 16 ++++++++++------ 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/developer/bin/list_apps_in_pkg b/developer/bin/list_apps_in_pkg index 4d5ece1f73..667da5b826 100755 --- a/developer/bin/list_apps_in_pkg +++ b/developer/bin/list_apps_in_pkg @@ -17,7 +17,7 @@ shopt -s nocasematch # case-insensitive regular expressions opt_lax='' opt_pkg='' -tmpdir='' +pkgdir='' ### ### functions @@ -37,24 +37,24 @@ die () { } app_source_1 () { - /usr/bin/find "$tmpdir" -name PackageInfo -print0 | \ + /usr/bin/find "$pkgdir" -name PackageInfo -print0 | \ /usr/bin/xargs -0 /usr/bin/perl -0777 -ne \ 'while (m{