Updated Nmap build script
This commit is contained in:
parent
782855bf2b
commit
176cff87c7
1 changed files with 7 additions and 3 deletions
|
@ -1,12 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
if [ -z "$GITHUB_WORKSPACE" ];then
|
||||||
set -x
|
echo "GITHUB_WORKSPACE environemnt variable not set!"
|
||||||
set -o pipefail
|
exit 1
|
||||||
|
fi
|
||||||
if [ "$#" -ne 1 ];then
|
if [ "$#" -ne 1 ];then
|
||||||
echo "Usage: ${0} [x86|x86_64|armhf|aarch64]"
|
echo "Usage: ${0} [x86|x86_64|armhf|aarch64]"
|
||||||
echo "Example: ${0} x86_64"
|
echo "Example: ${0} x86_64"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
set -x
|
||||||
source $GITHUB_WORKSPACE/build/lib.sh
|
source $GITHUB_WORKSPACE/build/lib.sh
|
||||||
init_lib $1
|
init_lib $1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue