From: Victor Julien Date: Tue, 30 Jan 2018 11:20:42 +0000 (+0100) Subject: autogen/rust: remove Cargo.lock X-Git-Tag: suricata-4.1.0-beta1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f7e24d3f25ef767aea9d32a002647c6183e0bec;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\"."