summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-08-19 17:24:13 -0400
committerJoey Hess2014-08-19 17:24:13 -0400
commit5365334ac2b7ad16b6be6c7518b366718b9abee4 (patch)
treec60a8b30b8bfbff62fe149f4538d986d19538530 /Makefile
parentd366e5e525994cb8491b11e56d834fbcd4decf56 (diff)
double bleargh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ebd6c673..2dcca27a 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ install:
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
mkdir -p dist/gittmp
$(CABAL) sdist
- tar tf dist/propellor-*.tar.gz | perl -pe 's!propellor-[^/]+/!!' > dist/list-sources
+ tar tf dist/propellor-*.tar.gz | perl -ne 's!propellor-[^/]+/!!; print unless $_ eq "\n"' > dist/list-sources
tar c -T dist/list-sources | (cd dist/gittmp && tar x)
cd dist/gittmp && git init && \
git add . \