* [PATCH] archive: fix suffix replacement for stats
@ 2016-06-17 2:13 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-06-17 2:13 UTC (permalink / raw)
To: dtas-all
We should generate "XYZ_0001.stats" files,
not "XYZ_0001.flac.stats".
---
bin/dtas-archive | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/dtas-archive b/bin/dtas-archive
index ded1ee7..1f22ff4 100755
--- a/bin/dtas-archive
+++ b/bin/dtas-archive
@@ -133,7 +133,7 @@
next
end
- stats_out = "#{output.sub(/\.[\.]+\z/, '')}.stats" if stats
+ stats_out = "#{output.sub(/\.[^\.]+\z/, '')}.stats" if stats
if dry_run || !silent
names = job.map { |x| Shellwords.escape(x) }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-17 2:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 2:13 [PATCH] archive: fix suffix replacement for stats Eric Wong
everything related to duct tape audio suite (dtas)
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://80x24.org/dtas-all
git clone --mirror http://ou63pmih66umazou.onion/dtas-all
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 dtas-all dtas-all/ https://80x24.org/dtas-all \
dtas-all@nongnu.org
public-inbox-index dtas-all
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.public-inbox.org/inbox.comp.audio.dtas
nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas
note: .onion URLs require Tor: https://www.torproject.org/
code repositories for project(s) associated with this inbox:
../../../dtas.git
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git