Commit 3d46a865 authored by Holger Levsen's avatar Holger Levsen

fix bashims (if ==)

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 4db078d4
......@@ -239,7 +239,7 @@ write_page_header() {
class=''
fi
uri="/debian/${s}/index_suite_${ARCH}_stats.html"
if [ $comma == 1 ] ; then
if [ $comma = 1 ] ; then
suite_links+=", {\"s\": \"${s}\", \"class\": \"$class\", \"uri\": \"$uri\"}"
else
suite_links+="{\"s\": \"${s}\", \"class\": \"$class\", \"uri\": \"$uri\"}"
......@@ -258,7 +258,7 @@ write_page_header() {
class=''
fi
uri="/debian/$SUITE/index_suite_${a}_stats.html"
if [ $comma == 1 ] ; then
if [ $comma = 1 ] ; then
arch_links+=", {\"a\": \"${a}\", \"class\": \"$class\", \"uri\": \"$uri\"}"
else
arch_links+="{\"a\": \"${a}\", \"class\": \"$class\", \"uri\": \"$uri\"}"
......
......@@ -39,7 +39,7 @@ for ARCH in ${ARCHS} ; do
write_page "<th>pbuilder setup $SUITE</th>"
done
for SUITE in ${SUITES} ; do
if [ "$SUITE" == "experimental" ]; then
if [ "$SUITE" = "experimental" ]; then
continue
fi
write_page "<th>schroot setup $SUITE</th>"
......@@ -119,7 +119,7 @@ for ARCH in ${ARCHS} ; do
done
# diffoscope schroot setup
for SUITE in ${SUITES} ; do
if [ "$SUITE" == "experimental" ]; then
if [ "$SUITE" = "experimental" ]; then
continue
fi
URL="https://jenkins.debian.net/view/reproducible/view/Debian_setup_${ARCH}/job/reproducible_setup_schroot_${SUITE}_diffoscope_${ARCH}_${JENKINS_NODENAME}"
......
......@@ -126,14 +126,14 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
arm64) NODE="codethink-sled${NODE_ALIAS#codethink}-arm64.debian.net" ;;
armhf) NODE="${NODE_ALIAS}-armhf-rb.debian.net" ;;
esac
if [ "$NODE" == "jenkins" ] ; then
if [ "$NODE" = "jenkins" ] ; then
echo 'Skipping jenkins...'
continue
fi
cd $i/builds
LAST=$(ls -rt1 | tail -1)
GOOD=$(basename $(readlink -f lastStableBuild))
if [ "$LAST" == "$GOOD" ] ; then
if [ "$LAST" = "$GOOD" ] ; then
DIFF=0
else
let DIFF=$LAST-$GOOD || DIFF=-1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment