diff --git a/compilation.sh b/compilation.sh index 723692f..2f45d00 100755 --- a/compilation.sh +++ b/compilation.sh @@ -2,7 +2,7 @@ set -euo pipefail # prep -dnf install git cmake g++ -y +dnf install git -y workdir=$(mktemp -d) built_dir=${COMPILED_DIR:-/compiled}/polycat mkdir -p $built_dir @@ -19,7 +19,9 @@ if grep -q $version $version_file; then echo "already up to date, exiting" exit fi -# get the submodules since it needs to be updated +# get build deps +cmake g++ +# get submodules git submodule update --init --depth 1