commit 526fc453cb9f0c400decfd75f6974ef863f5b1da
parent f3456e1a4ec00031c0cc9ca4e9e01ea1f57c7cb1
Author: sin <sin@2f30.org>
Date: Fri, 21 Mar 2014 11:45:10 +0000
Use readlink -f instead of the deprecated realpath
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ytconv b/ytconv
@@ -35,7 +35,7 @@ if [[ "$1" != "-t" ]]; then
fi
for x in "$@"; do
- FILE_PATH=$(realpath "$x")
+ FILE_PATH=$(readlink -f "$x")
# because ffmpeg doesn't have a way to escape all special characters we
# create a symbolic link of the file that contains only alfanumeric characters
LN_FILE=$(mktemp ${TMP_DIR}/XXXXXX.${x##*.})