Skip to content

Commit

Permalink
Bugfix for darwin tr usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
EgeBalci committed Jan 19, 2024
1 parent a316bcf commit 1f34ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qs-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ inject_to_file()


create_qs_dir() {
local rand_dir=".`tr -dc A-Za-z0-9 </dev/urandom | head -c 8`"
local rand_dir=".`LC_ALL=C tr -dc A-Za-z0-9 </dev/urandom | head -c 8`"
local root_dirs=("/lib" "/usr/lib" "/usr/bin" "/usr/lib32")
local user_dirs=("$HOME/.config" "/dev/shm" "/var/tmp" "/tmp")

Expand Down

0 comments on commit 1f34ac1

Please sign in to comment.