File:  [HATARI the Atari ST Emulator] / hatari / tests / check-bashisms.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:58:37 2019 UTC (7 years, 3 months ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, HEAD
hatari 2.2.0

#!/bin/sh

cd $(dirname $0)/..

errors=0

for i in $(hg locate '*\.sh'); do
	echo "Checking $i ..."
	checkbashisms $i
	errors=$(($errors + $?))
done

if [ "$errors" -gt 0 ]; then
	echo "TEST FAILED"
	exit 1
fi

echo "TEST SUCCESS"
exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.