From d8851cfe33c07315d883b941cc90cea646d5d78c Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Sat, 26 Aug 2006 03:17:58 +0000 Subject: [PATCH] corrected unnoticed bug. Only occured if make was interrupted when the package had xxx-build directory --- common/makefile-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/makefile-functions b/common/makefile-functions index 93fd3b5..a566bfb 100644 --- a/common/makefile-functions +++ b/common/makefile-functions @@ -26,7 +26,7 @@ define remove_existing_dirs2 @PKG_PATH=\`ls -t $(SRC)/$(1) | head -n1\` && \ ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's@^./@@;s@/.*@@'` && \ rm -rf $(SRC)/$$ROOT && \ - rm -rf $(SRC)/$${ROOT-*}-build + rm -rf $(SRC)/$${ROOT%-*}-build endef define remove_build_dirs