#!/bin/bash

# Ensure that we are compiled.

if [ ! -f bzwikipedia ] ; then
  echo "bzwikipedia is not compiled. Compiling ..."
  cd gosrc
  gomake
  cd ..
fi

if [ ! -f gosrc/bzwikipedia ] ; then
  echo "Apparently unable to compile bzwikipedia."
  exit
fi

[ -f bzwikipedia ] || ln -s gosrc/bzwikipedia bzwikipedia

./bzwikipedia

#!/bin/bash

# Ensure that we are compiled.

if [ ! -f bzwikipedia ] ; then
  echo "bzwikipedia is not compiled. Compiling ..."
  gomake -C gosrc
fi

if [ ! -f gosrc/bzwikipedia ] ; then
  echo "Apparently unable to compile bzwikipedia."
  exit
fi

[ -f bzwikipedia ] || ln -s gosrc/bzwikipedia bzwikipedia

./bzwikipedia

Tweak startup script's use of gomake.
Tweak startup script's use of gomake.
