summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-06 01:39:03 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-06 01:39:03 (EDT)
commit5567f28912bf38cb2dd15c86f8480396e5298c27 (patch)
tree30fbdee97f8def771fef707019d8f885b08ff24c
parent1fec9b094779d0d300297cc0aec04aa888f92df7 (diff)
source.mk: Rename top-level directory in archive.
opkbuild tried to move src/ into src/. opkbuild should probably know better.
-rw-r--r--source.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/source.mk b/source.mk
index 374c545..2914798 100644
--- a/source.mk
+++ b/source.mk
@@ -16,8 +16,10 @@ $(source_archive):
gpg --verify --keyring ../keyring.gpg \
'$(upstream_archive).asc'; \
fi
- mkdir -p src && cd src && tar -xzf '../$(upstream_archive)' && cd ..
+ mkdir -p tzdata && cd tzdata && tar -xzf '../$(upstream_archive)' && \
+ cd ..
rm -f '$(upstream_archive)' '$(upstream_archive).asc'
- tar -czf '$(source_archive)' src
+ tar -czf '$(source_archive)' tzdata
+ mv tzdata src
source: $(source_archive)