Michael Smith has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/20332 )

Change subject: Use realpath to determine relative path
......................................................................

Use realpath to determine relative path

Removes use of 'python', which can fail on newer machines that don't
add the symlink, in favor of 'realpath'.

$ python -c "import os.path; print(os.path.relpath('/usr/lib', '/usr/bin'))"
../lib
$ realpath --relative-to=/usr/bin /usr/lib
../lib

Change-Id: I569ecc0ace59ed3c388ae4f31cd80a695d5af0b6
---
M functions.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/32/20332/2
--
To view, visit http://gerrit.cloudera.org:8080/20332
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I569ecc0ace59ed3c388ae4f31cd80a695d5af0b6
Gerrit-Change-Number: 20332
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to