Fix a typo. Fixes #1683
This commit is contained in:
parent
2c9a16bcca
commit
b533b78317
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ define remove_existing_dirs
|
||||||
@PKG_PATH=`ls -t $(SRCSDIR)/$(1) | head -n1` && \
|
@PKG_PATH=`ls -t $(SRCSDIR)/$(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@/.*@@'` && \
|
||||||
[ -n "$$ROOT" ] && \
|
[ -n "$$ROOT" ] && \
|
||||||
if [ -d $(SRCDIR)/$$ROOT ]; then \
|
if [ -d $(SRCSDIR)/$$ROOT ]; then \
|
||||||
rm -rf $(SRCSDIR)/$$ROOT && \
|
rm -rf $(SRCSDIR)/$$ROOT && \
|
||||||
rm -rf $(SRCSDIR)/$${ROOT%-*}-build; \
|
rm -rf $(SRCSDIR)/$${ROOT%-*}-build; \
|
||||||
fi;
|
fi;
|
||||||
|
|
Reference in a new issue