diff --git a/make.sh b/make.sh index 7f3fcd1..146a401 100755 --- a/make.sh +++ b/make.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # libCStreamedXML/make.sh # # (c)2009, Laurence Withers, . @@ -15,19 +15,19 @@ then echo "Configuration file not found???" exit 1 fi -source "config" # don't fail on error, since last command in config might return false +source "./config" # don't fail on error, since last command in config might return false # Get version information -source version || exit 1 +source "./version" || exit 1 VERSION="${VERMAJOR}.${VERMINOR}.${VERMICRO}" # Get standard functions [ -z "${VERBOSE}" ] && VERBOSE="0" -source scripts/functions.sh || exit 1 +source "./scripts/functions.sh" || exit 1 # List of directories which will be emptied by clean. diff --git a/run-test.sh b/run-test.sh index 3d9dfeb..c2dc38a 100755 --- a/run-test.sh +++ b/run-test.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # libCStreamedXML/test.sh # # (c)2009, Laurence Withers, . @@ -33,10 +33,10 @@ print_tests() { echo "---------------------------------------------------------------------" for EXE in obj/tests/* do - [ -x ${EXE} ] || continue - NAME=$(echo ${EXE} | sed 's,obj/tests/,,') + [ -x "${EXE}" ] || continue + NAME="$(echo "${EXE}" | sed 's,obj/tests/,,')" echo -ne "${NAME}\t" - LD_LIBRARY_PATH="obj" ${EXE} --print-summary + LD_LIBRARY_PATH="obj" "${EXE}" --print-summary done } diff --git a/src/docs/MainPage.dox b/src/docs/MainPage.dox index b022470..876bc71 100644 --- a/src/docs/MainPage.dox +++ b/src/docs/MainPage.dox @@ -16,5 +16,5 @@ state-machine. It is an ASCII-only Streamed XML processor. /* options for text editors kate: replace-trailing-space-save true; space-indent true; tab-width 4; -vim: expandtab:ts=4:sw=4 +vim: expandtab:ts=4:sw=4:syntax=doxygen */