Skip to content

Commit bb2adb9

Browse files
author
Evgenii Zhemchugov
committed
GetToolDAQ.sh: do not ignore errors --- stop execution upon failure
1 parent 0033fa6 commit bb2adb9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

GetToolDAQ.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
init=1
46
tooldaq=1
57
boostflag=1
@@ -194,13 +196,7 @@ then
194196
mkdir src
195197
cp -r ./Dependencies/ToolDAQFramework/src/main.cpp ./src/
196198
cp ./Dependencies/ToolDAQFramework/Application/* ./
197-
git add DataModel/*
198-
git add UserTools/*
199-
git add configfiles/*
200-
git add ./Makefile
201-
git add ./CMakeLists.txt
202-
git add ./Setup.sh
203-
git add ./src/main.cpp
199+
git add DataModel UserTools configfiles Makefile CMakeLists.txt Setup.sh src/main.cpp
204200
rm -f ./GetToolFramework.sh
205201
sed -i 's/setup=1/setup=0/' ./GetToolDAQ.sh
206202
fi

0 commit comments

Comments
 (0)