diff options
author | P. 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) |
commit | 5567f28912bf38cb2dd15c86f8480396e5298c27 (patch) | |
tree | 30fbdee97f8def771fef707019d8f885b08ff24c | |
parent | 1fec9b094779d0d300297cc0aec04aa888f92df7 (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.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |