Skip to content
Snippets Groups Projects
Verified Commit 275e5dba authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Repo will now re-prepare when sysroot is deleted

parent 397cf47a
No related branches found
No related tags found
1 merge request!237WIP: Rust cookbook
......@@ -40,6 +40,10 @@ do
then
echo -e "\033[01;38;5;155mrepo - preparing $recipe\033[0m" >&2
./cook.sh "$recipe" prepare
elif [ ! -d "recipes/$recipe/sysroot/" ]
then
echo -e "\033[01;38;5;155mrepo - repreparing $recipe\033[0m" >&2
./cook.sh "$recipe" unprepare prepare
else
TIME_SOURCE="$($FIND recipes/$recipe/source/ -type f -not -path '*/.git*' -printf "%Ts\n" | sort -nr | head -n 1)"
TIME_BUILD="$($FIND recipes/$recipe/build/ -type f -not -path '*/.git*' -printf "%Ts\n" | sort -nr | head -n 1)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment