tad more efficient now
This commit is contained in:
parent
d33c8ee970
commit
b8f2b6ffcf
1 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# prep
|
# prep
|
||||||
dnf install git cmake g++ -y
|
dnf install git -y
|
||||||
workdir=$(mktemp -d)
|
workdir=$(mktemp -d)
|
||||||
built_dir=${COMPILED_DIR:-/compiled}/polycat
|
built_dir=${COMPILED_DIR:-/compiled}/polycat
|
||||||
mkdir -p $built_dir
|
mkdir -p $built_dir
|
||||||
|
@ -19,7 +19,9 @@ if grep -q $version $version_file; then
|
||||||
echo "already up to date, exiting"
|
echo "already up to date, exiting"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
# get the submodules since it needs to be updated
|
# get build deps
|
||||||
|
cmake g++
|
||||||
|
# get submodules
|
||||||
git submodule update --init --depth 1
|
git submodule update --init --depth 1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue