From 5567f28912bf38cb2dd15c86f8480396e5298c27 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Oct 2013 01:39:03 -0400 Subject: source.mk: Rename top-level directory in archive. opkbuild tried to move src/ into src/. opkbuild should probably know better. --- 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) -- cgit v0.9.1