diff --git a/scripts/build b/scripts/build index 09f1c8fe84..4e8bd6fc36 100755 --- a/scripts/build +++ b/scripts/build @@ -37,6 +37,10 @@ if [ ! -f $STAMP ]; then $SCRIPTS/build $p done + [ -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION}` + [ -d $BUILD/${PKG_NAME}${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}${PKG_VERSION}` + [ "$PKG_AUTORECONF" = yes ] && $SCRIPTS/autoreconf $1 + if [ -f $PKG_DIR/build ]; then $PKG_DIR/build $@ >&$VERBOSE_OUT if [ "$DEBUG" = no ]; then