Skip to content

Commit

Permalink
Resolve symlink.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Jul 16, 2015
1 parent 14986a4 commit 08e1b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rtags-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SCRIPT_PATH=`dirname "$0"`;
SCRIPT_PATH=`dirname $(readlink "$0")`;
SCRIPT_PATH=`eval "cd \"$SCRIPT_PATH\" && pwd"`

branch_name="$(git symbolic-ref HEAD 2>/dev/null)" || branch_name="(unnamed branch)" # detached HEAD
Expand Down

0 comments on commit 08e1b05

Please sign in to comment.