mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
commented a debugging echo in assemble.sh
This commit is contained in:
@@ -19,7 +19,7 @@ zparseopts -D -E -a opts r -run s -script p -pkg n -notarize h -help -labels+:=l
|
|||||||
|
|
||||||
if (( ${opts[(I)(-h|--help)]} )); then
|
if (( ${opts[(I)(-h|--help)]} )); then
|
||||||
echo "usage: assemble.sh [--script|--pkg|--notarize] [-labels path/to/labels ...] [arguments...]"
|
echo "usage: assemble.sh [--script|--pkg|--notarize] [-labels path/to/labels ...] [arguments...]"
|
||||||
echo
|
echo
|
||||||
echo "builds and runs the installomator script from the fragements."
|
echo "builds and runs the installomator script from the fragements."
|
||||||
echo "additional arguments are passed into the Installomator script for testing."
|
echo "additional arguments are passed into the Installomator script for testing."
|
||||||
exit
|
exit
|
||||||
@@ -68,7 +68,7 @@ labels_dir="$fragments_dir/labels"
|
|||||||
# add default labels_dir to label_paths
|
# add default labels_dir to label_paths
|
||||||
label_paths+=$labels_dir
|
label_paths+=$labels_dir
|
||||||
|
|
||||||
echo "label_paths: $label_paths"
|
#echo "label_paths: $label_paths"
|
||||||
|
|
||||||
fragment_files=( header.sh version.sh functions.sh arguments.sh main.sh )
|
fragment_files=( header.sh version.sh functions.sh arguments.sh main.sh )
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ fi
|
|||||||
# build a pkg when flag is set
|
# build a pkg when flag is set
|
||||||
if [[ buildPkg -eq 1 ]]; then
|
if [[ buildPkg -eq 1 ]]; then
|
||||||
echo "# building installer package"
|
echo "# building installer package"
|
||||||
|
|
||||||
tmpfolder=$(mktemp -d)
|
tmpfolder=$(mktemp -d)
|
||||||
payloadfolder="${tmpfolder}/payload"
|
payloadfolder="${tmpfolder}/payload"
|
||||||
|
|
||||||
@@ -185,4 +185,4 @@ if [[ $notarizePkg -eq 1 ]]; then
|
|||||||
# staple result
|
# staple result
|
||||||
echo "# Stapling $productpath"
|
echo "# Stapling $productpath"
|
||||||
xcrun stapler staple "$productpath"
|
xcrun stapler staple "$productpath"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user