mirror of
https://github.com/anchore/grype
synced 2024-09-20 06:21:56 +00:00
update so cp statement cane use coreutils and /bin (#566)
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
b618b84bac
commit
349aa863f9
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ extract_from_dmg() {
|
|||
dmg_file=$1
|
||||
mount_point="/Volumes/tmp-dmg"
|
||||
hdiutil attach -quiet -nobrowse -mountpoint "${mount_point}" "${dmg_file}"
|
||||
cp -fR "${mount_point}/" ./
|
||||
cp -fR "${mount_point}/." ./
|
||||
hdiutil detach -quiet -force "${mount_point}"
|
||||
}
|
||||
http_download_curl() {
|
||||
|
|
Loading…
Reference in a new issue