Skip to content

Commit 41d8a32

Browse files
committed
avoid tr: illegal byte sequence for osx
1 parent 6f686d3 commit 41d8a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
function travis_time_start {
77
TRAVIS_START_TIME=$(date +%s%N)
8-
TRAVIS_TIME_ID=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 8 | head -n 1)
8+
TRAVIS_TIME_ID=$(cat /dev/urandom | LC_ALL=C LC_CTYPE=C tr -dc 'a-z0-9' | fold -w 8 | head -n 1)
99
TRAVIS_FOLD_NAME=$1
1010
echo -e "\e[0Ktravis_fold:start:$TRAVIS_FOLD_NAME"
1111
echo -e "\e[0Ktravis_time:start:$TRAVIS_TIME_ID"

0 commit comments

Comments
 (0)