Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
taste-setup
Commits
0c67068c
Commit
0c67068c
authored
Jul 18, 2017
by
Thanassis Tsiodras
Browse files
Make the warning about dash into an error. Things fail in POHI Makefiles otherwise
parent
774ab089
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/98_bash.sh
View file @
0c67068c
...
...
@@ -6,10 +6,12 @@ else
COLORON
=
""
COLOROFF
=
""
fi
INFO
=
"
${
COLORON
}
[
INFO
]
${
COLOROFF
}
"
ERROR
=
"
${
COLORON
}
[
ERROR
]
${
COLOROFF
}
"
/bin/sh
--version
2>&1 |
grep
-i
bash
||
{
echo
-e
"
${
INFO
}
Many legacy Makefiles used depend on /bin/sh pointing to bash."
echo
-e
"
${
INFO
}
Please change your /bin/sh appropriately."
echo
-e
"
${
ERROR
}
Many legacy Makefiles used depend on /bin/sh pointing to bash."
echo
-e
"
${
ERROR
}
You need to change your /bin/sh appropriately - e.g."
echo
-e
"
${
ERROR
}
"
echo
-e
"
${
ERROR
}
cd /bin ; sudo rm sh ; sudo ln -s bash sh"
exit
1
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment