commit 2f656be8e0b89051a4c2b3ffe4cc4c4e5934731e
parent d58c7f49f3953b6bf534b2c79ca468961c9924d1
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Mon, 22 Sep 2014 04:31:05 +0200
fix freeze when no permissions
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debdiffconf b/debdiffconf
@@ -13,7 +13,7 @@ command -v apt-file >/dev/null 2>&1 || {
echo "Please install apt-file: sudo apt-get install apt-file. Aborting." >&2;
exit 4; }
-FILE=$(readlink -f "$1")
+FILE=$(realpath -m "$1")
while read PACKAGE
do
# verify from first installed package