mirror of
https://github.com/anchore/syft.git
synced 2026-10-20 18:12:32 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4ac7700dd | ||
|
|
d3469801fc | ||
|
|
3f50bb8fa7 |
@@ -25,7 +25,7 @@ repackage() {
|
||||
tmp_dir=$(mktemp -d)
|
||||
cd "$tmp_dir"
|
||||
# redirect stdout to stderr to preserve the return value
|
||||
tar xzf "$archive" && zip "$new_archive" $(tar tf "$archive") 1>&2
|
||||
tar xzf "$archive" && zip "$new_archive" ./* 1>&2
|
||||
rm -rf "$tmp_dir"
|
||||
)
|
||||
echo "$new_archive"
|
||||
@@ -62,7 +62,7 @@ notarize() {
|
||||
|
||||
cat <<EOF > "$tmp_file"
|
||||
notarize {
|
||||
path = "$archive_path"
|
||||
path = "$payload_archive_path"
|
||||
bundle_id = "com.anchore.toolbox.syft"
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
PURPLE='\033[0;35m'
|
||||
GREEN='\033[0;32m'
|
||||
RED='\033[0;31m'
|
||||
BOLD=$(tput bold)
|
||||
BOLD=$(tput -T linux bold)
|
||||
RESET='\033[0m'
|
||||
|
||||
function success() {
|
||||
|
||||
Reference in New Issue
Block a user