Skip to content

Commit

Permalink
Updated Nmap build script
Browse files Browse the repository at this point in the history
  • Loading branch information
takeshixx committed Apr 19, 2021
1 parent 782855b commit 176cff8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build/targets/build_nmap.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
#!/bin/bash
set -e
set -x
set -o pipefail
if [ -z "$GITHUB_WORKSPACE" ];then
echo "GITHUB_WORKSPACE environemnt variable not set!"
exit 1
fi
if [ "$#" -ne 1 ];then
echo "Usage: ${0} [x86|x86_64|armhf|aarch64]"
echo "Example: ${0} x86_64"
exit 1
fi
set -e
set -o pipefail
set -x
source $GITHUB_WORKSPACE/build/lib.sh
init_lib $1

Expand Down

0 comments on commit 176cff8

Please sign in to comment.