shithub: sox

Download patch

ref: b508e3b259dcb31954d58cf81a3def9ed404b8b0
parent: f1d48ec10b30dd69ea3a079eb0524011589091c8
author: robs <robs>
date: Sun Aug 3 10:16:09 EDT 2008

more portable

--- a/src/test-srcs
+++ b/src/test-srcs
@@ -11,9 +11,10 @@
 RANGE=180
 
 # Temporary files
-IN=/tmp/$0-in-$$.wav
-OUT=/tmp/$0-out-$$.wav
-TIME=/tmp/$0-time-$$.wav
+BASE=`basename $0`
+IN=/tmp/$BASE-in-$$.wav
+OUT=/tmp/$BASE-out-$$.wav
+TIME=/tmp/$BASE-time-$$.wav
 
 test_converters () {
   # Create input file