Skip to content

Commit ed39348

Browse files
committed
Let's try another find approach
1 parent 5e84ffb commit ed39348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci_scripts/package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if ([ "$OS_NAME" = "macos-10.15" ] || [ "$OS_NAME" = "macos-13" ]) && [ "$PACKAG
66
sudo chmod -R +w /usr/local/Cellar
77

88
base_path="/Users/runner/work/supertux/supertux/build/_CPack_Packages/Darwin/Bundle"
9-
maybe_target=$(find $base_path -type d -exec find {} -depth -maxdepth 1 -type f -print -quit)
9+
maybe_target=$(basename $(find $base_path -type d -depth -maxdepth 1))
1010
directory_name=$(basename $maybe_target)
1111
echo "Well, here's the example target:"
1212
echo $maybe_target

0 commit comments

Comments
 (0)