Skip to content

Commit

Permalink
Merge pull request #625 from mr-karan/master
Browse files Browse the repository at this point in the history
fix(install-prod.sh): Make `tr` work with macOS
  • Loading branch information
knadh committed Dec 15, 2021
2 parents ca128df + c9189a1 commit 13edf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ is_running() {
}

generate_password(){
echo $(tr -dc A-Za-z0-9 </dev/urandom | head -c 13 ; echo '')
echo $(LC_ALL=C tr -dc A-Za-z0-9 </dev/urandom | head -c 13 ; echo '')
}

get_config() {
Expand Down

0 comments on commit 13edf42

Please sign in to comment.