Skip to content
Snippets Groups Projects
Commit 0c6b7282 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

/bin/sh compat.

[ci skip]
parent 0a420a17
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#!/bin/sh
setup() {
git clone --depth=50 --branch=gh-pages \
......@@ -24,7 +24,7 @@ deploy() {
git@github.com:haskell/haskell-website.git gh-pages
}
if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]
if [ "x$TRAVIS_PULL_REQUEST" = "xfalse" -a "x$TRAVIS_BRANCH" = "xmaster" ]
then
case "${1}" in
"setup")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment