🔧 Fix shellcheck issues

This commit is contained in:
Simon Schneegans
2022-06-10 10:42:59 +02:00
parent 2056130e98
commit 15a622d7b7
+2 -2
View File
@@ -30,10 +30,10 @@ mkdir -p "$BUILD_DIR"
generate() {
# Use the nick for the effect's directory name by replacing dashes by underscoares.
DIR_NAME="kwin4_effect_$(echo $1 | tr '-' '_')"
DIR_NAME="kwin4_effect_$(echo "$1" | tr '-' '_')"
# Use the name of the effect for the JavaScript class name by removing all spaces.
EFFECT_CLASS="BurnMyWindows$(echo $2 | tr -d ' ')"
EFFECT_CLASS="BurnMyWindows$(echo "$2" | tr -d ' ')"
# Create resource directories.
mkdir -p "$BUILD_DIR/$DIR_NAME/contents/shaders"