When gclient is a symbolic link

9 views
Skip to first unread message

Apostolos Tsompanopoulos

unread,
Oct 10, 2011, 5:59:53 AM10/10/11
to gcl...@googlegroups.com
I've symlinked gclient to a bin directory in my $PATH, only to find out that it won't run as usual.
So, I added the readlink() call into gclient script, as follows:

base_dir=$(dirname $(readlink -f "$0"))

Apostolos
Reply all
Reply to author
Forward
0 new messages