corrected unnoticed bug. Only occured if make was interrupted when the package had xxx-build directory
This commit is contained in:
parent
a3b0e382b5
commit
d8851cfe33
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\` && \
|
||||
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
|
||||
|
|
Reference in a new issue