1
0
mirror of https://github.com/kakwa/uts-server synced 2024-12-04 23:15:54 +01: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"