aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-04-10 17:16:27 -0400
committerB. Watson <urchlay@slackware.uk>2024-04-11 16:52:48 -0400
commit141b196cfa597c90ec811173f296f9d52a47d73d (patch)
treec4d2244814ed0deb3423ee6ec5aee2200fab65bb
parent86a6bb43dec14a63f722818f72c855807832fef4 (diff)
downloadsoxdial-141b196cfa597c90ec811173f296f9d52a47d73d.tar.gz
soxdial: raw output for extensionless output files.
-rwxr-xr-xsoxdial2
1 files changed, 1 insertions, 1 deletions
diff --git a/soxdial b/soxdial
index 7726c8a..519e4dd 100755
--- a/soxdial
+++ b/soxdial
@@ -494,7 +494,7 @@ sub set_dialtone_type {
# final sox command, to which we pipe all the others.
sub make_sox_cmd {
- if($output eq '-') {
+ if($output !~ /\./) {
$output = "-t raw $output";
} else {
# support quotes, spaces, etc in filenames.