From 1004f909acb2bc548b7196531831c1a7b06f63dc Mon Sep 17 00:00:00 2001 From: "larry.espenshade" Date: Mon, 28 Mar 2022 15:32:05 -0400 Subject: [PATCH] fix commit checkout script --- imagefiles/build-and-install-flatcc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imagefiles/build-and-install-flatcc.sh b/imagefiles/build-and-install-flatcc.sh index 58e686c..9edcaef 100755 --- a/imagefiles/build-and-install-flatcc.sh +++ b/imagefiles/build-and-install-flatcc.sh @@ -14,10 +14,12 @@ fi cd /usr/src -git clone https://github.com/dvidelabs/flatcc.git flatcc -b $FLATCC_VERSION --depth 1 +git clone https://github.com/dvidelabs/flatcc.git cd flatcc +git reset --hard $FLATCC_COMMIT + cmake -DFLATCC_INSTALL=on && make install > /dev/null ./scripts/cleanall.sh