Skip to content
Snippets Groups Projects
Commit 21c6cd0e authored by Kris Nova's avatar Kris Nova
Browse files

Removing realpath


Darwin operating systems does not ship with `realpath` so using another working variation

Signed-off-by: default avatarKris Nova <knova@heptio.com>
parent 3ca3e578
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
KSONNET_ROOT=$(realpath $(dirname ${BASH_SOURCE})/../..)
KSONNET_ROOT=$(cd "$(dirname "$0")/../.."; pwd)
BIN=${KSONNET_ROOT}/_output/bin
mkdir -p ${BIN}
go build -o ${BIN}/docs-gen ./docs/generate/ks.go
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment