[kupfer] Update kupfer-exec to use readlink instead of realpath



commit 9ca639078a3e4669e85c50763b6f295b55e4555c
Author: Ulrik Sverdrup <f04us venus-7 student lth se>
Date:   Tue Mar 1 14:38:10 2011 +0100

    Update kupfer-exec to use readlink instead of realpath

 bin/kupfer-exec.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/kupfer-exec.in b/bin/kupfer-exec.in
index d560241..134a69c 100755
--- a/bin/kupfer-exec.in
+++ b/bin/kupfer-exec.in
@@ -14,7 +14,7 @@ fi
 
 while test $# != 0
 do
-	FILE=$(realpath -s "$1")
+	FILE=$(readlink -f "$1")
 	dbus-send --print-reply --dest=se.kaizer.kupfer /interface \
 		se.kaizer.kupfer.Listener.ExecuteFile string:"$FILE" \
 		> /dev/null 2>&1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]