mirror of
https://github.com/bpkg/bpkg
synced 2024-11-08 01:10:36 +00:00
escape quote
This commit is contained in:
parent
16a53e5bcb
commit
487c69c0d7
@ -115,7 +115,7 @@ bpkg_install () {
|
||||
}
|
||||
|
||||
## get package name from `package.json'
|
||||
name="$(echo -n ${json} | bpkg-json -b | grep 'name' | awk '{ print $2 }' | tr -d '"')"
|
||||
name="$(echo -n ${json} | bpkg-json -b | grep 'name' | awk '{ print $2 }' | tr -d '\"')"
|
||||
|
||||
if [ "${#scripts[@]}" -gt "0" ]; then
|
||||
## make `deps/' directory if possible
|
||||
|
Loading…
Reference in New Issue
Block a user