mirror of
https://github.com/aljazceru/shurikenpi.io.git
synced 2025-12-18 06:34:19 +01:00
update install script, move more constant to global vars
This commit is contained in:
@@ -50,7 +50,7 @@ spin_it(){
|
||||
shift
|
||||
local command=$@
|
||||
local hash=$(echo -n "$command" | md5sum | awk '{print $1}')
|
||||
local logfile="/tmp/shuriken/$hash.txt"
|
||||
local logfile="$TMP_DIRECTORY/$hash.txt"
|
||||
"$@" > $logfile 2>&1 &
|
||||
chars=(" ⠋ " " ⠙ " " ⠹ " " ⠸ " " ⠼ " " ⠴ " " ⠦ " " ⠧ " " ⠇ " " ⠏ ")
|
||||
pid=$!
|
||||
|
||||
Reference in New Issue
Block a user