Hi! On Sun, 2012-08-19 at 10:35:17 -0700, Russ Allbery wrote: > get-orig-source: > git archive --remote='$(REPO)' --prefix='openafs_$(DEBVERS).orig/' \ > --format=tar '$(TAG)' | tar xf - > rm -r openafs_$(DEBVERS).orig/src/WINNT > tar cf openafs_$(DEBVERS).orig.tar openafs_$(DEBVERS).orig > rm -r openafs_$(DEBVERS).orig > gzip -9 openafs_$(DEBVERS).orig.tar
Just a small off-topic tangent :), but this could be slightly optimized with something like (untested): git archive --remote='$(REPO)' --prefix='openafs_$(DEBVERS).orig/' \ --format=tar '$(TAG)' | \ tar --delete openafs_$(DEBVERS).orig/src/WINNT | \ gzip -9 > openafs_$(DEBVERS).orig.tar.gz regards, guillem -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120820021622.gb2...@gaara.hadrons.org