mirror of
https://github.com/nmap/nmap.git
synced 2026-11-12 15:41:43 +00:00
Fix macOS packaging with no local changes
This commit is contained in:
parent
11fd5e740c
commit
6484f77216
1 changed files with 2 additions and 2 deletions
|
|
@ -101,14 +101,14 @@ export-%:
|
|||
rm -rf $*
|
||||
# Using @BASE discards local changes.
|
||||
mkdir $*
|
||||
(cd .. && git archive $$(git stash create)) | tar -x -C $*
|
||||
(cd .. && git archive $$(git stash create | grep . || echo HEAD)) | 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)
|
||||
mkdir nmap-$(NMAP_VERSION)
|
||||
(cd .. && git archive $$(git stash create)) | tar -x -C nmap-$(NMAP_VERSION)
|
||||
(cd .. && git archive $$(git stash create | grep . || echo HEAD)) | 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