fuzzy match for arrays..

pull/18/head
Joseph Werle 10 years ago
parent 994f0b2aa1
commit 59ec0a6cf5

@ -198,7 +198,7 @@ bpkg_install () {
## construct scripts array ## construct scripts array
{ {
scripts=$(echo -n $json | bpkg-json -b | grep '\["scripts"\]' | awk '{$1=""; print $0 }' | tr -d '"') scripts=$(echo -n $json | bpkg-json -b | grep '\["scripts' | awk '{$1=""; print $0 }' | tr -d '"')
OLDIFS="${IFS}" OLDIFS="${IFS}"
## comma to space ## comma to space

Loading…
Cancel
Save