corrected unnoticed bug. Only occured if make was interrupted when the package had xxx-build directory
This commit is contained in:
parent
1c2d4d7bd8
commit
b7654ffcc4
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ define remove_existing_dirs2
|
||||||
@PKG_PATH=\`ls -t $(SRC)/$(1) | head -n1\` && \
|
@PKG_PATH=\`ls -t $(SRC)/$(1) | head -n1\` && \
|
||||||
ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's@^./@@;s@/.*@@'` && \
|
ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's@^./@@;s@/.*@@'` && \
|
||||||
rm -rf $(SRC)/$$ROOT && \
|
rm -rf $(SRC)/$$ROOT && \
|
||||||
rm -rf $(SRC)/$${ROOT-*}-build
|
rm -rf $(SRC)/$${ROOT%-*}-build
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define remove_build_dirs
|
define remove_build_dirs
|
||||||
|
|
Reference in a new issue