mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
update cp statement for core_utils_upgrade (#719)
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
4903b4d73f
commit
a689fb1213
@ -246,7 +246,7 @@ extract_from_dmg() {
|
|||||||
dmg_file=$1
|
dmg_file=$1
|
||||||
mount_point="/Volumes/tmp-dmg"
|
mount_point="/Volumes/tmp-dmg"
|
||||||
hdiutil attach -quiet -nobrowse -mountpoint "${mount_point}" "${dmg_file}"
|
hdiutil attach -quiet -nobrowse -mountpoint "${mount_point}" "${dmg_file}"
|
||||||
cp -fR "${mount_point}/" ./
|
cp -fR "${mount_point}/." ./
|
||||||
hdiutil detach -quiet -force "${mount_point}"
|
hdiutil detach -quiet -force "${mount_point}"
|
||||||
}
|
}
|
||||||
http_download_curl() {
|
http_download_curl() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user