pre.sh at [2bcd1b2d5e]

File build/pre.sh artifact f422eb34cc part of check-in 2bcd1b2d5e


#! /bin/bash

./kitcreator distclean

KITSHROOTDIR="$(ls -1d kitsh/buildsrc/kitsh-*/)"
export KITSHROOTDIR

(
	cd "${KITSHROOTDIR}" || exit 1

	autoconf; autoheader
	rm -rf autom4te.cache
	rm -f *~

	./configure || exit 1

	make distclean
) || exit 1