2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-08 01:10:36 +00:00

escape quote

This commit is contained in:
Joseph Werle 2014-05-22 15:56:13 -04:00
parent 16a53e5bcb
commit 487c69c0d7

View File

@ -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