generated from me/template-mit
pv-test, minor output changes around the final confirmation.
This commit is contained in:
+2
-3
@@ -853,17 +853,16 @@ function pv-test {
|
|||||||
# Final Check #
|
# Final Check #
|
||||||
|
|
||||||
typeset -u okay
|
typeset -u okay
|
||||||
echo "Testing all this with '$filename_in'"
|
echo -e "\nTesting all this with '$filename_in'"
|
||||||
read -p "Look okay? (Y/n) " okay
|
read -p "Look okay? (Y/n) " okay
|
||||||
if [[ "$okay" == "N" || "$okay" == "F"* ]]; then
|
if [[ "$okay" == "N" || "$okay" == "F"* ]]; then
|
||||||
echo "* Not okay, aborting."
|
echo "* Not okay, aborting."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
echo -e "Sounds good, here we go!\n"
|
||||||
|
|
||||||
## Main ##
|
## Main ##
|
||||||
|
|
||||||
echo -e "Here we go!\n"
|
|
||||||
|
|
||||||
if [[ "$pv" == "y" ]]; then
|
if [[ "$pv" == "y" ]]; then
|
||||||
echo "Starting pv..."
|
echo "Starting pv..."
|
||||||
filename_pv="$(basename "${filename_in}-pv.mkv")"
|
filename_pv="$(basename "${filename_in}-pv.mkv")"
|
||||||
|
|||||||
Reference in New Issue
Block a user