From 26751c9115e652d8670d317b2df004e885e8f1d5 Mon Sep 17 00:00:00 2001 From: Paul Beuchat <beuchatp@control.ee.ethz.ch> Date: Thu, 28 May 2020 17:53:11 +0200 Subject: [PATCH] Added error output for all the git command shell script of the web interface --- web_interface/html/bashscripts/catkin_make_clean.sh | 2 +- web_interface/html/bashscripts/gitCheckoutAll.sh | 2 +- web_interface/html/bashscripts/gitCheckoutMaster.sh | 2 +- web_interface/html/bashscripts/gitDiff.sh | 2 +- web_interface/html/bashscripts/gitStatus.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web_interface/html/bashscripts/catkin_make_clean.sh b/web_interface/html/bashscripts/catkin_make_clean.sh index 1d6935cb..f65e7ab5 100755 --- a/web_interface/html/bashscripts/catkin_make_clean.sh +++ b/web_interface/html/bashscripts/catkin_make_clean.sh @@ -10,4 +10,4 @@ source /home/www-share/dfall/dfall-system/dfall_ws/src/dfall_pkg/launch/Config.s cd /home/www-share/dfall/dfall-system/dfall_ws # # Call catkin_make -catkin_make clean \ No newline at end of file +catkin_make clean 2>&1 \ No newline at end of file diff --git a/web_interface/html/bashscripts/gitCheckoutAll.sh b/web_interface/html/bashscripts/gitCheckoutAll.sh index 013f312c..a184d6fd 100755 --- a/web_interface/html/bashscripts/gitCheckoutAll.sh +++ b/web_interface/html/bashscripts/gitCheckoutAll.sh @@ -4,4 +4,4 @@ cd /home/www-share/dfall/dfall-system/ # # Call git -git checkout . \ No newline at end of file +git checkout . 2>&1 \ No newline at end of file diff --git a/web_interface/html/bashscripts/gitCheckoutMaster.sh b/web_interface/html/bashscripts/gitCheckoutMaster.sh index b0320528..0375a7b4 100755 --- a/web_interface/html/bashscripts/gitCheckoutMaster.sh +++ b/web_interface/html/bashscripts/gitCheckoutMaster.sh @@ -4,4 +4,4 @@ cd /home/www-share/dfall/dfall-system/ # # Call git -git checkout master \ No newline at end of file +git checkout master 2>&1 \ No newline at end of file diff --git a/web_interface/html/bashscripts/gitDiff.sh b/web_interface/html/bashscripts/gitDiff.sh index bb287391..186440e8 100755 --- a/web_interface/html/bashscripts/gitDiff.sh +++ b/web_interface/html/bashscripts/gitDiff.sh @@ -4,4 +4,4 @@ cd /home/www-share/dfall/dfall-system/ # # Call git -git diff \ No newline at end of file +git diff 2>&1 \ No newline at end of file diff --git a/web_interface/html/bashscripts/gitStatus.sh b/web_interface/html/bashscripts/gitStatus.sh index 5e60e9be..5179502e 100755 --- a/web_interface/html/bashscripts/gitStatus.sh +++ b/web_interface/html/bashscripts/gitStatus.sh @@ -4,4 +4,4 @@ cd /home/www-share/dfall/dfall-system/ # # Call git -git status \ No newline at end of file +git status 2>&1 \ No newline at end of file -- GitLab