Fix error in get-orig-source if files contain spaces

pull/605/head
Emmanuel Papin 2014-11-27 15:46:10 +01:00
parent 716bf6113f
commit cdf5dc6bf4
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ get-orig-source: ../$(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(D
fi
@echo "# Setting times..."
@cd $(PKG)-$(VER) \
&& for F in $$(git ls-tree -r --name-only HEAD); do \
&& for F in $$(git ls-tree -r --name-only HEAD | sed -e "s/\s/\*/g"); do \
touch --no-dereference -d "$$(git log -1 --format="%ai" -- $$F)" "$$F"; \
done
@echo "# Cleaning-up..."