Commit 5b8da598 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Appease shellcheck.

parent bc98c73f
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
. "${DIR}"/common.sh
cd "$DIR"/../kazoo || exit 1
git submodule init
......@@ -8,9 +8,9 @@ git submodule update
make || exit 1
mkdir -p ${PREFIX}/share/kazoo || exit 1
cp -a kazoo ${PREFIX}/share/kazoo || exit 1
cp -a ../kazoo/templates ${PREFIX}/share/kazoo || exit 1
mkdir -p "${PREFIX}"/share/kazoo || exit 1
cp -a kazoo "${PREFIX}"/share/kazoo || exit 1
cp -a ../kazoo/templates "${PREFIX}"/share/kazoo || exit 1
# Sadly, AdaCore has not responded to our pull request:
# https://github.com/AdaCore/templates-parser/pull/21
......@@ -18,7 +18,7 @@ cp -a ../kazoo/templates ${PREFIX}/share/kazoo || exit 1
# To avoid false notification of "dirty" git status,
# clean up their mess in the "templates-parser" after their build
rm -f "${DIR}/../kazoo/templates-parser/tp_xmlada.gpr"
rm -f "${DIR}/../kazoo/templates-parser/config/setup/foo.ads.std???"
rm -f "${DIR}/../kazoo/templates-parser/config/setup/foo.ads.std"???
# Add kazoo binary to the PATH
......
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