Skip to content

Commit

Permalink
replace backticks with $()
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandwalker committed May 22, 2014
1 parent 1465a07 commit 88d08de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion developer/bin/list_apps_in_pkg
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion developer/bin/list_ids_in_pkg
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ _list_ids_in_pkg () {
pkgdir="$(/usr/bin/readlink "$pkgdir")"
fi
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 "$1" "$tmpdir/unpack" "$pkgdir"
Expand Down

0 comments on commit 88d08de

Please sign in to comment.