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
0007c8bc
Commit
0007c8bc
authored
Jul 15, 2017
by
Thanassis Tsiodras
Browse files
Add check that /bin/sh is bash.
parent
bbe0c551
Changes
1
Show whitespace changes
Inline
Side-by-side
install/98_bash.sh
0 → 100755
View file @
0007c8bc
#!/bin/bash
if
[
-t
0
]
;
then
COLORON
=
"
\e
[1m
\e
[31m"
COLOROFF
=
"
\e
[0m"
else
COLORON
=
""
COLOROFF
=
""
fi
INFO
=
"
${
COLORON
}
[INFO]
${
COLOROFF
}
"
/bin/sh
--version
>
/dev/null 2>&1 |
grep
-i
bash
||
{
echo
-e
"
${
INFO
}
Many legacy TASTE Makefiles depend on /bin/sh pointing to bash."
echo
-e
"
${
INFO
}
Please change your /bin/sh appropriately."
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