Browse Source

inverse logic to avoid error message

Waldemar Brodkorb 10 years ago
parent
commit
1a6d2ebae0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mk/buildhlp.mk

+ 1 - 1
mk/buildhlp.mk

@@ -93,7 +93,7 @@ ifeq ($(strip ${_IN_PACKAGE})$(strip ${_IN_CVTC}),1)
 else
 	@$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PREVENT_PATCH=: NO_CHECKSUM=1
 endif
-	@-test -r ${WRKDIR}/.autoreconf_done && \
+	@-test ! -r ${WRKDIR}/.autoreconf_done || \
 		(cd ${WRKDIR}.orig/${PKG_NAME}-${PKG_VERSION}; \
 		env ${AUTOTOOL_ENV} autoreconf -if) $(MAKE_TRACE)
 	@rm -rf ${WRKDIR}.orig/${PKG_NAME}-${PKG_VERSION}/autom4te.cache