Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: build/android/envsetup.sh

Issue 9350052: Use 'readlink -f .' instead of 'pwd' when setting CHROME_SRC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/envsetup.sh
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh
index 78da36066574efcaa5190f097f88517629326ff1..33570098deeb903db17b028eeb0407e02b68618b 100755
--- a/build/android/envsetup.sh
+++ b/build/android/envsetup.sh
@@ -57,8 +57,8 @@ if [ ! -d "${ANDROID_TOOLCHAIN}" ]; then
fi
if [ -z "${CHROME_SRC}" ]; then
- # if $CHROME_SRC was not set, assume current directory is CHROME_SRC.
- export CHROME_SRC=$(pwd)
+ # If $CHROME_SRC was not set, assume current directory is CHROME_SRC.
+ export CHROME_SRC=$(readlink -f .)
fi
if [ ! -d "${CHROME_SRC}" ]; then
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698