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

Unified Diff: cros_workon

Issue 3434008: cros_workon: fix bug where cros_workon start doesn't work for first start (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 3 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: cros_workon
diff --git a/cros_workon b/cros_workon
index 22b375201d2fdade02095fe846ecc7f7256c377d..d71879f9304f46590695a8acfa78ea5205420dca 100755
--- a/cros_workon
+++ b/cros_workon
@@ -155,9 +155,9 @@ find_repo_dir () {
regen_manifest_and_sync() {
for pkgname in $(show_live_ebuilds); do
eval $(${EBUILDCMD} $(${EQUERYCMD} which ${pkgname}) info)
- local srcdir=$(readlink -f ${CROS_WORKON_SRCDIR})
- local trunkdir=$(readlink -f ${CHROOT_TRUNK_DIR})
- local project_path=${srcdir#$(readlink -f ${CHROOT_TRUNK_DIR})/}
+ local srcdir=$(readlink -m ${CROS_WORKON_SRCDIR})
+ local trunkdir=$(readlink -m ${CHROOT_TRUNK_DIR})
+ local project_path=${srcdir#${trunkdir}/}
loman add --workon "${CROS_WORKON_PROJECT}" "${project_path}"
done
« 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