mirror of
https://github.com/nmap/nmap.git
synced 2026-11-21 15:11:25 +00:00
Fix git syntax
This commit is contained in:
parent
71068c76c2
commit
374af1842d
1 changed files with 4 additions and 2 deletions
|
|
@ -100,13 +100,15 @@ check-zenmap: stage-zenmap
|
|||
export-%:
|
||||
rm -rf $*
|
||||
# Using @BASE discards local changes.
|
||||
git -C .. archive | tar -x -C $*
|
||||
mkdir $*
|
||||
(cd .. && git archive $$(git stash create)) | tar -x -C $*
|
||||
|
||||
NMAP_SOURCEDIR=$(JHBUILD_SOURCE)/nmap-$(NMAP_VERSION)
|
||||
NMAP_TARBALL=$(JHBUILD_SOURCE)/pkgs/nmap-$(NMAP_VERSION).tar.gz
|
||||
$(NMAP_TARBALL):
|
||||
rm -rf nmap-$(NMAP_VERSION)
|
||||
git -C .. archive | tar -x -C nmap-$(NMAP_VERSION)
|
||||
mkdir nmap-$(NMAP_VERSION)
|
||||
(cd .. && git archive $$(git stash create)) | tar -x -C nmap-$(NMAP_VERSION)
|
||||
tar czf nmap-$(NMAP_VERSION).tar.gz nmap-$(NMAP_VERSION)
|
||||
cp nmap-$(NMAP_VERSION).tar.gz $(JHBUILD_SOURCE)/pkgs/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue