Fix a typo. Fixes #1683

This commit is contained in:
Thomas Pegg 2012-02-01 23:59:11 +00:00
parent 2c9a16bcca
commit b533b78317

View file

@ -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;