cutAndShrinkVideo: remove intermediate file

This commit is contained in:
gutmet 2020-05-02 12:00:28 +02:00
parent 67d48a7984
commit f92fbfc0c7

View File

@ -4,5 +4,9 @@ cutFile="$(cutVideo $1 $2 $3)"
status=$?
if [ $status -eq 0 ]; then
shrinkVideo "$cutFile"
echo "$(shrinkVideo $cutFile)"
status=$?
if [ $status -eq 0 ]; then
rm "$cutFile"
fi
fi