[sr-dev] [tracker] Comment added: kamctl warning when greadlink does not exist
sip-router
bugtracker at sip-router.org
Mon Nov 17 14:50:25 CET 2014
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#492 - kamctl warning when greadlink does not exist
User who did this - Morten Tryfoss (mtryfoss)
----------
I was a bit too quick. Try this instead:
— utils/kamctl/kamctl 2014-11-11 13:48:48.000000000 +0100
+++ utils/kamctl/kamctl 2014-11-17 14:14:36.389779782 +0100
@@ -16,12 +16,12 @@
### include config files
# check for rc file at same location with kamctl
-which greadlink > /dev/null
+which greadlink &> /dev/null
ret=$?
if [ $ret -eq 0 ] ; then
KAMCTLFULLPATH=$(greadlink -f “$0”)
else
- which readlink > /dev/null
+ which readlink &> /dev/null
ret=$?
if [ $ret -eq 0 ] ; then
KAMCTLFULLPATH=$(readlink -f “$0”)
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=492#comment1694
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the sr-dev
mailing list