Browse Source

made mpass work better under OS X (BSD?)

master
mort 8 years ago
parent
commit
de11101251
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/mpass

+ 1
- 1
bin/mpass View File

@@ -45,7 +45,7 @@ if [ "$1" = "create" ]; then
nchars="$3"
fi

chars=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c "$nchars")
chars=$(LC_ALL=C tr -dc A-Za-z0-9_ < /dev/urandom | head -c "$nchars")

echo "$chars" > "$TMP_IN"
echo "$chars" | mclip

Loading…
Cancel
Save