Skip to content

Commit

Permalink
Quote parameters in shell scripts (linuxmint#121)
Browse files Browse the repository at this point in the history
After selecting a file in a directory with whitespace in its name
mintstick can't do the action because the `mint-stick-format` and
`mint-stick-write` shell scripts didn't quote the parameters thus
splitting the path into multiple (too many) arguments.
  • Loading branch information
xenopeek committed Jan 15, 2024
1 parent 6511182 commit b88d277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/mint-stick-format
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
exec python3 -u /usr/lib/mintstick/raw_format.py $@
exec python3 -u /usr/lib/mintstick/raw_format.py "$@"
2 changes: 1 addition & 1 deletion bin/mint-stick-write
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
exec python3 -u /usr/lib/mintstick/raw_write.py $@
exec python3 -u /usr/lib/mintstick/raw_write.py "$@"

0 comments on commit b88d277

Please sign in to comment.