]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: fix test -f for rust/vendor, should be -e
authorJason Ish <jason.ish@oisf.net>
Tue, 10 Dec 2019 22:40:35 +0000 (16:40 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 13 Dec 2019 09:21:32 +0000 (10:21 +0100)
Introduced with commit: c08ec8d8b27280e2bcb066c9caa24da97e0419ee

configure.ac

index 4497c18ac362901e437a93fa7735b703d97b07e4..9791d982f029a7aafebe5845f4fb1fe078a0a72c 100644 (file)
@@ -2439,7 +2439,7 @@ fi
     AC_SUBST([RUSTUP_HOME_PATH], [$rustup_home_path])
     AC_SUBST([rustup_home])
 
-    if test -f "$srcdir/rust/vendor"; then
+    if test -e "$srcdir/rust/vendor"; then
       have_rust_vendor="yes"
     fi