summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/bin/onos-check-bits
blob: 0423c342f98546a61368380124dade48f76c880e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# -----------------------------------------------------------------------------
# Checks if ONOS bits are available in preparation for install.
# -----------------------------------------------------------------------------

[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults

ls -l $ONOS_TAR && cksum $ONOS_TAR