Skip to content

Commit 3a5a149

Browse files
committed
get file ending right
1 parent f3f0801 commit 3a5a149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/srtcpy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -z "$1" ]; then
55
fi
66

77
filename="$1"
8-
srt_filename="${filename%.*}.srt" # Remove extension (if any) and append .srt
8+
srt_filename="${filename%.*}.en.srt" # Remove extension (if any) and append .srt
99

1010
# Check if the .srt file exists
1111
if [ ! -f "$srt_filename" ]; then

0 commit comments

Comments
 (0)