1
0
mirror of https://github.com/kakwa/uts-server synced 2024-06-03 17:48:07 +02:00

better extension for the timestamp script

This commit is contained in:
kakwa 2016-08-27 01:33:48 +02:00
parent 734f78469f
commit bf33d5cee0

View File

@ -88,7 +88,7 @@ while getopts ":lhu:i:o:O:C:" opt; do
done
# If no output file specified, output to <input file>.ts
[ -z "$OUTPUT_FILE" ] && OUTPUT_FILE="${INPUT_FILE}.ts"
[ -z "$OUTPUT_FILE" ] && OUTPUT_FILE="${INPUT_FILE}.tsr"
# Check that input file exists
[ -f "$INPUT_FILE" ] || exit_error "Input file '$INPUT_FILE' doesn't exist"