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` && \
ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's@^./@@;s@/.*@@'` && \
[ -n "$$ROOT" ] && \
if [ -d $(SRCDIR)/$$ROOT ]; then \
if [ -d $(SRCSDIR)/$$ROOT ]; then \
rm -rf $(SRCSDIR)/$$ROOT && \
rm -rf $(SRCSDIR)/$${ROOT%-*}-build; \
fi;