summaryrefslogtreecommitdiffstats
path: root/convert2mp3
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-04-29 15:27:21 +0200
committerFlorian Pritz <f-p@gmx.at>2009-04-29 15:27:21 +0200
commit670ae8e17755de51a55bd1af2bae9d7d2dd5bc94 (patch)
tree5fef4620a56a8f445e4fe31e3ab6005eb969a69e /convert2mp3
parent2b46ba3b8d118fa5576949a380af3151454a2ead (diff)
downloadbin-670ae8e17755de51a55bd1af2bae9d7d2dd5bc94.tar.gz
bin-670ae8e17755de51a55bd1af2bae9d7d2dd5bc94.tar.xz
remove tmpfile
Diffstat (limited to 'convert2mp3')
-rwxr-xr-xconvert2mp32
1 files changed, 2 insertions, 0 deletions
diff --git a/convert2mp3 b/convert2mp3
index 5f5a2fa..d2a24f6 100755
--- a/convert2mp3
+++ b/convert2mp3
@@ -23,5 +23,7 @@ for i in "$@"; do
mplayer -ao pcm:fast -novideo -vc null -vo null -ao pcm:file="$tmpfile" "$file"
lame -h "$tmpfile" "$file_mp3"
+ rm "$tmpfile"
+
popd &> /dev/null
done