From d04aa0b80f216b3b24558cbcb139bc110c214913 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 21 Apr 2009 15:00:44 +0200 Subject: fix a bug with spaces in the filenames --- convert2mp4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'convert2mp4') 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 # # 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")" -- cgit v1.2.3-24-g4f1b