summaryrefslogtreecommitdiffstats
path: root/convert2mp4
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-04-21 15:00:44 +0200
committerFlorian Pritz <f-p@gmx.at>2009-04-21 15:00:44 +0200
commitd04aa0b80f216b3b24558cbcb139bc110c214913 (patch)
tree1d95225f8e692ba602f5a3199b31a75d3c660292 /convert2mp4
parentba8388ab9b0a0c393496b745866e97738b0fdac9 (diff)
downloadbin-d04aa0b80f216b3b24558cbcb139bc110c214913.tar.gz
bin-d04aa0b80f216b3b24558cbcb139bc110c214913.tar.xz
fix a bug with spaces in the filenames
Diffstat (limited to 'convert2mp4')
-rwxr-xr-xconvert2mp44
1 files changed, 2 insertions, 2 deletions
diff --git a/convert2mp4 b/convert2mp4
index dde121e..b2efd8d 100755
--- a/convert2mp4
+++ b/convert2mp4
@@ -1,6 +1,6 @@
#!/bin/bash
#----------------------------------------------------
-# Version: 0.1.1
+# Version: 0.1.2
# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
#
# Copyright (C) 2009 Florian Pritz
@@ -14,7 +14,7 @@
# Audio: MPEG-4 AAC
#----------------------------------------------------
-for i in $@; do
+for i in "$@"; do
pushd . &> /dev/null
cd "$(dirname "$i")"