summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2019-02-23 16:52:01 -0700
committerChristoph Junghans <junghans@lanl.gov>2019-02-23 16:52:01 -0700
commit1469693906a473715e6c1583c27c4a93de67da35 (patch)
tree6a9da1ceccceafd8070ff8742928274c3f88d813
parenta9126b96447a9e203d5180dfafc3f9a30ad6e70f (diff)
downloadfedora-review-1469693906a473715e6c1583c27c4a93de67da35.tar.gz
fedora-review-1469693906a473715e6c1583c27c4a93de67da35.tar.xz
fedora-review-1469693906a473715e6c1583c27c4a93de67da35.zip
libaec: fixed a typo VI
-rwxr-xr-xspinner.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/spinner.sh b/spinner.sh
deleted file mode 100755
index f5a0e23..0000000
--- a/spinner.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-# Small spinner script, that returns exit code of CMD and keeps colored output
-# Usage: ./spinner CMD
-
-spinner() {
- local PID=$1
- local SPIN="/-\|"
- local i=0
- while kill -0 $PID >/dev/null 2>&1; do
- printf "\r%s" "${SPIN:$i:1}"
- i=$(($i+1))
- [[ $i -eq 4 ]] && i=0
- sleep 10;
- done
-}
-
-cat /tmp/update 2>/dev/null
-$(script -q -e /dev/null -c "${@} 2>&1" >/tmp/output) &
-PID=$!
-spinner "${PID}" &
-wait ${PID}
-RC=$?
-sleep .075
-printf "\r"
-cat /tmp/output
-exit $RC