Skip to content

Commit

Permalink
Fix syntax in setup.sh
Browse files Browse the repository at this point in the history
Change-Id: I7b34fb707a26e07b77df3e2067adbce41fd666d5
Signed-off-by: Gabor Hosszu <gabor@digitalasset.com>
  • Loading branch information
gaborh-da committed Sep 8, 2016
1 parent dc2d339 commit 4067c99
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 43 deletions.
40 changes: 40 additions & 0 deletions devenv/failure-motd.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
##########################################################
,.-""``""-.,
/ ,:,;;,;, \ DANGER DANGER
\ ';';;';' / WILL ROBINSON...
`'---;;---'`
<>_==""==_<>
_<<<<<>>>>>_
.'____\==/____'.
_____|__ |__| __|______
/C \\\\\\\\ |..| //////// C\
\_C//////// |;;| \\\\\\\\C_/
|____o|##|o____|
\ ___|~~|___ /
'>--------<'
{==_==_==_=}
{= -=_=-_==}
{=_=-}{=-=_}
{=_==}{-=_=}
}~~~~""~~~~{
jgs }____::____{
/` || `\
| || |
| || |
| || |
'-----''-----'
##########################################################

If you see this notice, it means that something is wrong
with your hyperledger/fabric development environment.

Typically this indicates that something failed during
provisioning and your environment is incomplete. Builds,
execution, etc., may not operate as they were intended.
Please review the provisioning log and visit:

https://goo.gl/yqjRC7

for more information on troubleshooting and solutions.

##########################################################
45 changes: 2 additions & 43 deletions devenv/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,49 +37,8 @@ DEVENV_REVISION=`(cd /hyperledger/devenv; git rev-parse --short HEAD)`
# Install WARNING before we start provisioning so that it
# will remain active. We will remove the warning after
# success
cat <<EOF >/etc/motd
##########################################################
,.-""``""-.,
/ ,:,;;,;, \ DANGER DANGER
\ ';';;';' / WILL ROBINSON...
`'---;;---'`
<>_==""==_<>
_<<<<<>>>>>_
.'____\==/____'.
_____|__ |__| __|______
/C \\\\\\\\ |..| //////// C\
\_C//////// |;;| \\\\\\\\C_/
|____o|##|o____|
\ ___|~~|___ /
'>--------<'
{==_==_==_=}
{= -=_=-_==}
{=_=-}{=-=_}
{=_==}{-=_=}
}~~~~""~~~~{
jgs }____::____{
/` || `\
| || |
| || |
| || |
'-----''-----'
##########################################################
If you see this notice, it means that something is wrong
with your hyperledger/fabric development environment.
Typically this indicates that something failed during
provisioning and your environment is incomplete. Builds,
execution, etc., may not operate as they were intended.
Please review the provisioning log and visit:
https://goo.gl/yqjRC7
for more information on troubleshooting and solutions.
##########################################################
EOF

SCRIPT_DIR="$(readlink -f "$(dirname "$0")")"
cat "$SCRIPT_DIR/failure-motd.in" >> /etc/motd

# Update system
apt-get update -qq
Expand Down

0 comments on commit 4067c99

Please sign in to comment.