Skip to content

Commit

Permalink
Add $RANDOM to ensure TIME var is always unique #384
Browse files Browse the repository at this point in the history
  • Loading branch information
denverwilliams committed Sep 9, 2020
1 parent 4fd2d6d commit 806153a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
touch $(pwd)/.github-env
cat <<< "export GITHUB_USER=$GITHUB_USER" > $(pwd)/.github-env
cat <<< "export GITHUB_TOKEN=$GITHUB_TOKEN" >> $(pwd)/.github-env
export TIME=$(date +%s)
export TIME=$(date +%s)$RANDOM
# Install CNF-Conformance
scp -o StrictHostKeyChecking=no -rp $(pwd) root@$SSH_HOST:/tmp/$TIME
ssh -o StrictHostKeyChecking=no -t root@$SSH_HOST "cd /tmp/$TIME ; git fetch --tags" || travis_terminate 1
Expand Down

0 comments on commit 806153a

Please sign in to comment.