Commit 96b20986 authored by Maxime Perrotin's avatar Maxime Perrotin

Test tty output properly

parent d573eadf
Subproject commit 3447567edf767b0852fca6abfd5247a95ce71e40
Subproject commit 68130ef23bb01c89a99c759189acc66a225dd45e
......@@ -2,7 +2,7 @@
# TASTE ACN File creator
if [ -t 0 ] ; then
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
COLOROFF="\e[0m"
......
......@@ -2,7 +2,7 @@
# TASTE Dataview Editor
if [ -t 0 ] ; then
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
COLOROFF="\e[0m"
......
......@@ -3,7 +3,7 @@
# TASTE MSC Editor
# Create a new MSC file for a given Provided interface of a function
if [ -t 0 ] ; then
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
COLOROFF="\e[0m"
......
#!/bin/bash -e
echo 'TASTE Project Creator'
if [ -t 0 ] ; then
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
COLOROFF="\e[0m"
......
......@@ -3,7 +3,7 @@
# TASTE MSC Editor
# Edit a MSC file
if [ -t 0 ] ; then
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
COLOROFF="\e[0m"
......
#!/bin/bash
if [ -t 0 ]
if [ -t 1 ]
then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
......
......@@ -2,7 +2,7 @@
echo TASTE Data View Convertor - From ASN.1 to AADLV2
if [ -t 0 ] ; then
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
REDCOLORON="\e[1m\e[31m"
COLOROFF="\e[0m"
......
Subproject commit 9f52f61506a7a8847219876a6b0eb845e2371f7c
Subproject commit fd9a3fdc9c438c9e9b6ac2332c0e74fd5fd08021
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment