Fix bug in list_apps_in_pkg script, probably a typo

This commit is contained in:
Josh Hagins
2014-12-26 15:15:40 -06:00
parent 0c8337d8d0
commit 53581d1637
+1 -1
View File
@@ -138,7 +138,7 @@ _list_apps_in_pkg () {
if [[ -d "$opt_pkg" ]]; then
pkgdir="$opt_pkg"
else
local tmpdir="$(usr/bin/mktemp -d -t list_ids_in_pkg)"
local tmpdir="$(/usr/bin/mktemp -d -t list_ids_in_pkg)"
trap "/bin/rm -rf -- '$tmpdir'" EXIT
pkgdir="$tmpdir/unpack"
/usr/sbin/pkgutil --expand "$opt_pkg" "$tmpdir/unpack" "$pkgdir"