• Tim Hockin's avatar
    Fix path munging funcs and usage · 9a83015e
    Tim Hockin authored
    Our `realpath` and `readlink -f` functions (required only because of MacOS,
    thanks Steve) were poor substitutes at best.  Mostly they were downright
    broken.  This thoroughly overhauls them and adds a test (in comments, since we
    don't seem to have shell tests).  For all the interesting cases I could think
    of, the fakes act just like the real thing.
    
    Then use those and canonicalize KUBE_ROOT.  In order to make recursive calls of
    our shell tool not additively grow `pwd` we have to essentially make the
    sourcing of init.sh idempotent.
    9a83015e
Name
Last commit
Last update
..
after-build Loading commit data...
boilerplate Loading commit data...
e2e-internal Loading commit data...
gen-swagger-doc Loading commit data...
jenkins Loading commit data...
lib Loading commit data...
testdata Loading commit data...
verify-flags Loading commit data...
OWNERS Loading commit data...
benchmark-go.sh Loading commit data...
benchmark-integration.sh Loading commit data...
build-cross.sh Loading commit data...
build-go.sh Loading commit data...
build-ui.sh Loading commit data...
cherry_pick_pull.sh Loading commit data...
dev-build-and-push.sh Loading commit data...
dev-build-and-up.sh Loading commit data...
e2e-node-test.sh Loading commit data...
e2e.go Loading commit data...
get-build.sh Loading commit data...
ginkgo-e2e.sh Loading commit data...
grab-profiles.sh Loading commit data...
install-etcd.sh Loading commit data...
list-feature-tests.sh Loading commit data...
local-up-cluster.sh Loading commit data...
lookup_pull.py Loading commit data...
test-cmd.sh Loading commit data...
test-go.sh Loading commit data...
test-integration.sh Loading commit data...
test-update-storage-objects.sh Loading commit data...
update-all.sh Loading commit data...
update-api-reference-docs.sh Loading commit data...
update-codecgen.sh Loading commit data...
update-codegen.sh Loading commit data...
update-generated-docs.sh Loading commit data...
update-generated-protobuf.sh Loading commit data...
update-generated-swagger-docs.sh Loading commit data...
update-godep-licenses.sh Loading commit data...
update-gofmt.sh Loading commit data...
update-swagger-spec.sh Loading commit data...
verify-all.sh Loading commit data...
verify-api-reference-docs.sh Loading commit data...
verify-boilerplate.sh Loading commit data...
verify-codecgen.sh Loading commit data...
verify-codegen.sh Loading commit data...
verify-description.sh Loading commit data...
verify-flags-underscore.py Loading commit data...
verify-generated-docs.sh Loading commit data...
verify-generated-protobuf.sh Loading commit data...
verify-generated-swagger-docs.sh Loading commit data...
verify-godep-licenses.sh Loading commit data...
verify-godeps.sh Loading commit data...
verify-gofmt.sh Loading commit data...
verify-govet.sh Loading commit data...
verify-import-boss.sh Loading commit data...
verify-linkcheck.sh Loading commit data...
verify-swagger-spec.sh Loading commit data...
verify-symbols.sh Loading commit data...