diff options
-rwxr-xr-x | convert2mp4 | 4 |
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")" |