summaryrefslogtreecommitdiffstats
path: root/compile-all-targets.sh
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-04-03 21:04:31 +0200
committerCanop <cano.petrole@gmail.com>2022-04-03 21:04:31 +0200
commit4e07db85f341dc00870356cd564990ceac48c8a0 (patch)
tree127ea1434dec75b6eb58846263869d7dc231190c /compile-all-targets.sh
parent5231feaf61b47c8749ed9ba303a58b3d9516483f (diff)
fix build chain
Diffstat (limited to 'compile-all-targets.sh')
-rwxr-xr-xcompile-all-targets.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile-all-targets.sh b/compile-all-targets.sh
index 8436daa..2249834 100755
--- a/compile-all-targets.sh
+++ b/compile-all-targets.sh
@@ -1,4 +1,4 @@
-# WARNING: This script is NOT meant for normal installation, it's dedicated
+#WARNING: This script is NOT meant for normal installation, it's dedicated
# to the compilation of all supported targets, from a linux machine.
# This is a long process and it involves specialized toolchains.
# For usual compilation do
@@ -10,7 +10,7 @@ H1="\n\e[30;104;1m\e[2K\n\e[A" # style first header
H2="\n\e[30;104m\e[1K\n\e[A" # style second header
EH="\e[00m\n\e[2K" # end header
-version=$(sed 's/version = "\([0-9.]\{1,\}\(-[a-z]\+\)\?\)"/\1/;t;d' Cargo.toml | head -1)
+version=$(./version.sh)
echo -e "${H1}Compilation of all targets for broot $version${EH}"
# clean previous build