Skip to content

Commit

Permalink
Shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed May 12, 2024
1 parent 756ee24 commit 9ecc280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/apple/package_apple.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mkdir -p "$APP/Contents/Frameworks"
mkdir -p "$APP/Contents/Resources"
cd "$1"
for file in *; do
if [ $(basename $file) != "@PROJECT_NAME_UCASE@.app" ]; then
if [ "$(basename $file)" != "@PROJECT_NAME_UCASE@.app" ]; then
mv "$file" "$APP/Contents/"
fi
done
Expand All @@ -47,6 +47,7 @@ find . -type f -print0 | xargs -0 chmod u+w

# Move lmms binary
mv "$APP/Contents/bin/@CMAKE_PROJECT_NAME@" "$APP/Contents/MacOS/@CMAKE_PROJECT_NAME@"
# shellcheck disable=SC2115
rm -rf "$APP/bin"

# Fix zyn linking
Expand Down

0 comments on commit 9ecc280

Please sign in to comment.