Georg Hopp 19 years ago
parent
commit
86a488c37d
  1. 10
      getcd.sh

10
getcd.sh

@ -5,6 +5,13 @@ umask 000 # create files with all right for anyone
shopt -s nullglob # expand patterns which match no file to a null string shopt -s nullglob # expand patterns which match no file to a null string
shopt -s extdebug shopt -s extdebug
function atExit
{
echo -en "\033[?25h" # show cursor
}
trap atExit EXIT
# -------------------------------------------------------------- # --------------------------------------------------------------
# das Verzeichnis in dem dieses script liegt herausfinden # das Verzeichnis in dem dieses script liegt herausfinden
scriptDir=${0%/*} scriptDir=${0%/*}
@ -359,7 +366,7 @@ test ${verbose} -ge 1 && echo "${ready}"
# ---------------------------------------------------------------- # ----------------------------------------------------------------
# now do the ripping # now do the ripping
test ${verbose} -eq 1 && echo -n "${startRipMsg1}" test ${verbose} -eq 1 && echo -n "${startRipMsg1}"
test ${verbose} -ge 2 && echo "${startRipMsg2}"
test ${verbose} -ge 2 && { echo "${startRipMsg2}"; echo -en "\033[?25l"; }
i=0 i=0
while [ $i -lt ${#tTitle[@]} ] while [ $i -lt ${#tTitle[@]} ]
@ -460,5 +467,6 @@ do
i=$((i+1)) i=$((i+1))
done done
test ${verbose} -ge 2 && echo -en "\033[?25h"
test ${verbose} -eq 1 && echo "${ready}" test ${verbose} -eq 1 && echo "${ready}"
# ---------------------------------------------------------------- # ----------------------------------------------------------------
Loading…
Cancel
Save