• 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
..
build-image Loading commit data...
debian-iptables Loading commit data...
pause Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
common.sh Loading commit data...
copy-output.sh Loading commit data...
json-extractor.py Loading commit data...
make-build-image.sh Loading commit data...
make-clean.sh Loading commit data...
make-release-notes.sh Loading commit data...
push-ci-build.sh Loading commit data...
push-devel-build.sh Loading commit data...
push-official-release.sh Loading commit data...
release.sh Loading commit data...
run.sh Loading commit data...
shell.sh Loading commit data...
versionize-docs.sh Loading commit data...