Skip to content

Commit e4ac5c0

Browse files
committed
actually using usage function
1 parent b57cc4d commit e4ac5c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_scripts/tvos/package.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ builtpath=$1
1313
packagepath=$2
1414

1515
if [[ -z "${builtpath}" || -z "${packagepath}" ]]; then
16-
echo "Usage: $0 <built tvOS SDK path> <path to put packaged files into>"
16+
usage
1717
exit 1
1818
fi
1919

2020
if [[ ! -d "${builtpath}/xcframeworks" ]]; then
2121
echo "Built tvOS SDK not found at path '${builtpath}'."
22+
usage
2223
exit 2
2324
fi
2425

0 commit comments

Comments
 (0)