1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-08 08:06:23 +00:00

Strip bootstrap.sh from tfw.sh as Dockerization efforts are abandoned

This commit is contained in:
Kristóf Tóth
2018-06-27 13:57:00 +02:00
parent 7567bcb891
commit 043ae95801
4 changed files with 47 additions and 37 deletions

View File

@ -5,19 +5,3 @@ pushd() {
popd() {
command popd "$@" > /dev/null
}
spinned() {
"$@" &
pid=$!
spin=("-" "\\" "|" "/")
echo -n "${spin[0]}"
while kill -0 $pid &> /dev/null; do
for i in "${spin[@]}"; do
echo -ne "\b$i"
sleep 0.1
done
done
echo -ne "\b"
wait $pid
}