forked from opencomputeproject/OpenNetworkLinux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
23 lines (20 loc) · 590 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
############################################################
#
# When running the ONL builder in isolation mode
# $HOME is set to the root of the ONL tree from
# which you entered the builder.
#
# The assumption here is that you are trying to build
# the tree from which you entered the builder, and
# thus we automatically source the setup.env file
# upon starting the shell inside the container.
#
############################################################
. setup.env
set -e
if [ -n "$ONL_AUTOBUILD" ]; then
make all
exit 0
else
echo Ready to build OpenNetworkLinux.
fi