Skip to content

Commit

Permalink
Fix scripts checking for wrong current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
autumn-mck committed May 22, 2023
1 parent 8c582aa commit 956c3f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

currend_directory=${PWD##*/}
if [[ "${currend_directory,,}" != "catppuccin-musicbee" ]]; then
if [[ "${currend_directory,,}" != "musicbee" ]]; then
echo "This should be run from the root directory of the repository! Exiting to avoid breaking things"
exit
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/convert-icons.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

currend_directory=${PWD##*/}
if [[ "${currend_directory,,}" != "catppuccin-musicbee" ]]; then
if [[ "${currend_directory,,}" != "musicbee" ]]; then
echo "This should be run from the root directory of the repository! Exiting to avoid breaking things"
exit
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/create_svgs.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

currend_directory=${PWD##*/}
if [[ "${currend_directory,,}" != "catppuccin-musicbee" ]]; then
if [[ "${currend_directory,,}" != "musicbee" ]]; then
echo "This should be run from the root directory of the repository! Exiting to avoid breaking things"
exit
fi
Expand Down

0 comments on commit 956c3f0

Please sign in to comment.