From: Victor Julien Date: Tue, 30 Jan 2018 11:20:42 +0000 (+0100) Subject: autogen/rust: remove Cargo.lock X-Git-Tag: suricata-4.0.4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19af022620fce9e6dc99d7d01d766d6927c4c40c;p=thirdparty%2Fsuricata.git autogen/rust: remove Cargo.lock Remove Cargo.lock to avoid issues when updating Cargo.toml --- diff --git a/autogen.sh b/autogen.sh index 1e15b809ae..a40d3f90e8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,4 +11,9 @@ else exit 1 fi; autoreconf -fv --install || exit 1 +if which cargo > /dev/null; then + if [ -f rust/Cargo.lock ] ; then + rm -f rust/Cargo.lock + fi +fi; echo "You can now run \"./configure\" and then \"make\"."