Skip to content

Commit

Permalink
fix if statements in test script
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan-brown authored Sep 8, 2017
1 parent 5d7e27c commit 9577d48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/test_coinc_search_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ patch -p0 ligo-proxy-init <<EOF
echo "Your identity: \$[email protected]"
fi
EOF
if $? ; then
if [ ! $? -eq 0 ] ; then
patch -p0 ligo-proxy-init <<EOF
--- /bin/ligo-proxy-init 2017-04-12 12:27:45.000000000 +0000
+++ ligo-proxy-init 2017-09-07 23:37:51.224116188 +0000
Expand All @@ -57,7 +57,7 @@ patch -p0 ligo-proxy-init <<EOF
echo "Your identity: $login@LIGO.ORG"
fi
EOF
if $? ; then
if [ ! $? -eq 0 ] ; then
echo -e "\\n>> [`date`] ERROR: could not patch ligo-proxy-init for Travis"
exit 1
fi
Expand Down

0 comments on commit 9577d48

Please sign in to comment.