Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update compile.sh: quoted variables behind rm commands #435

Merged
merged 5 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MCprep_addon/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def init():
# -----------------------------------------------
# ! Deprecated as of MCprep 3.4.2
global dev
dev = True
dev = False

# ! Deprecated as of MCprep 3.4.2
global v
Expand Down
4 changes: 2 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BLENDER_INSTALLS=blender_installs.txt
# Remove left over files in the build folder, but leaves the zip.
function clean(){
echo "Cleaning build folder"
rm -r build/$NAME/
rm -r "build/$NAME/"
}

# Create a local build zip of the local addon.
Expand Down Expand Up @@ -79,7 +79,7 @@ function build() {

# Making the zip with all the sub files is also slow.
cd build || exit
rm $NAME.zip # Compeltely remove old version (else it's append/replace)
rm "$NAME.zip" # Compeltely remove old version (else it's append/replace)
zip $NAME.zip -rq $NAME
cd ../
fi
Expand Down