diff options
author | vanhauser-thc <vh@thc.org> | 2022-02-01 14:16:49 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-02-01 14:16:49 +0100 |
commit | 119a0e0dcebe93f8c3e7ca4d23429519aca317e2 (patch) | |
tree | c6d65322141271170e2abd9eefea6b8afb5ecfe3 | |
parent | f336aa463b65aac0544118dc82eded463f2c3d83 (diff) | |
download | afl++-119a0e0dcebe93f8c3e7ca4d23429519aca317e2.tar.gz |
fix build scripts
-rwxr-xr-x | nyx_mode/build_nyx_support.sh | 6 | ||||
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 2 | ||||
-rwxr-xr-x | unicorn_mode/build_unicorn_support.sh | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/nyx_mode/build_nyx_support.sh b/nyx_mode/build_nyx_support.sh index 8fa12ceb..83e0ae32 100755 --- a/nyx_mode/build_nyx_support.sh +++ b/nyx_mode/build_nyx_support.sh @@ -41,9 +41,9 @@ else fi -test -d packer/.git || { echo "[-] packer not checked out, please install git or check your internet connection." ; exit 1 ; } -test -d libnyx/.git || { echo "[-] libnyx not checked out, please install git or check your internet connection." ; exit 1 ; } -test -d QEMU-Nyx/.git || { echo "[-] QEMU-Nyx not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e packer/.git || { echo "[-] packer not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e libnyx/.git || { echo "[-] libnyx not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e QEMU-Nyx/.git || { echo "[-] QEMU-Nyx not checked out, please install git or check your internet connection." ; exit 1 ; } echo "[*] checking packer init.cpio.gz ..." if [ ! -f "packer/linux_initramfs/init.cpio.gz" ]; then diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 8822770c..5dbd9d44 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -87,7 +87,7 @@ else } fi -test -d qemuafl/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e qemuafl/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; } echo "[+] Got qemuafl." cd "qemuafl" || exit 1 diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index 80961599..a846fd1c 100755 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -171,7 +171,7 @@ else } fi -test -d unicornafl/.git || { echo "[-] not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e unicornafl/.git || { echo "[-] not checked out, please install git or check your internet connection." ; exit 1 ; } echo "[+] Got unicornafl." cd "unicornafl" || exit 1 |