Merge pull request #1 from SvenTo/master

Set run-nmap.sh as Executable
This commit is contained in:
takeshix 2019-04-09 12:40:24 +02:00 committed by GitHub
commit 1f9bc44c60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
packaging/run-nmap.sh Normal file → Executable file
View file

@ -1,2 +1,4 @@
#!/bin/bash #!/bin/bash
NMAPDIR=data ./nmap $@ SOURCE="${BASH_SOURCE[0]}"
SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
NMAPDIR="$SCRIPT_DIR/data" "$SCRIPT_DIR/nmap" $@