Skip to content

Commit 1f9bc44

Browse files
authored
Merge pull request #1 from SvenTo/master
Set run-nmap.sh as Executable
2 parents c83b9d7 + d212aac commit 1f9bc44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packaging/run-nmap.sh

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/bin/bash
2-
NMAPDIR=data ./nmap $@
2+
SOURCE="${BASH_SOURCE[0]}"
3+
SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
4+
NMAPDIR="$SCRIPT_DIR/data" "$SCRIPT_DIR/nmap" $@

0 commit comments

Comments
 (0)