Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
small correction
Browse files Browse the repository at this point in the history
  • Loading branch information
vwiencek committed Aug 28, 2014
1 parent 362f1eb commit 656d530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/daemon/syncanyd
Expand Up @@ -17,8 +17,8 @@ get_pid() {
}

get_realpath() {
[[ ! -f "$1" ]] && return 1 # failure : file does not exist.
[[ -n "$no_symlinks" ]] && local pwdp='pwd -P' || local pwdp='pwd' # do symlinks.
[ ! -f "$1" ] && return 1 # failure : file does not exist.
[ -n "$no_symlinks" ] && local pwdp='pwd -P' || local pwdp='pwd' # do symlinks.
echo "$( cd "$( echo "${1%/*}" )" 2>/dev/null; $pwdp )"/"${1##*/}" # echo result.
return 0 # success
}
Expand Down

0 comments on commit 656d530

Please sign in to comment.