only autogen.sh in scm versions

This commit is contained in:
Daniel Mierswa 2009-08-23 21:42:24 +02:00
parent 3343fc72a9
commit 150350a8dc

View file

@ -34,7 +34,7 @@ REMOTE_IDS="sourceforge:cdemu freshmeat:cdemu"
src_prepare() {
default
if ${autogen} ; then
if [[ "${PV}" == scm && ${autogen} ]] ; then
./autogen.sh || die "autogen.sh failed"
fi
}