k3s/hack/lib
Tim Hockin 9a83015e60 Fix path munging funcs and usage
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.
2016-05-08 20:30:38 -07:00
..
etcd.sh Have curl retry etcd download if it fails 2016-03-16 13:43:46 -07:00
golang.sh Fix path munging funcs and usage 2016-05-08 20:30:38 -07:00
init.sh Fix path munging funcs and usage 2016-05-08 20:30:38 -07:00
test.sh Introduce kubectl describe --show-events 2016-05-06 11:40:11 +02:00
util.sh Fix path munging funcs and usage 2016-05-08 20:30:38 -07:00
version.sh Demand at least go1.6 2016-05-08 20:30:37 -07:00