-
Notifications
You must be signed in to change notification settings - Fork 0
/
UpdateDepend.sh
executable file
·54 lines (44 loc) · 1.07 KB
/
UpdateDepend.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh
# Author KMS - Martin Dubois, P.Eng.
# Copyright (C) 2020 KMS
# License http://www.apache.org/licenses/LICENSE-2.0
# Product KmsBase
# File UpdateDepend.sh
# Usage ./UpdateDepend.sh
# CODE REVIEW 2020-10-26 KMS - Martin Dubois, P.Eng.
echo Executing UpdateDepend.sh ....
# ===== Execution ===========================================================
echo Updating dependencies for KmsLib
cd KmsLib
make depend
if [ 0 != $? ] ; then
echo ERROR KmsLib - make depend failed
exit 10
fi
cd ..
echo Updating dependencies for KmsCopy
cd KmsCopy
make depend
if [ 0 != $? ] ; then
echo ERROR KmsCopy - make depend failed
exit 15
fi
cd ..
echo Updating dependencies for KmsVersion
cd KmsVersion
make depend
if [ 0 != $? ] ; then
echo ERROR KmsVersion - make depend failed
exit 18
fi
cd ..
echo Updating dependencies for KmsLib_Test ...
cd KmsLib_Test
make depend
if [ 0 != $? ] ; then
echo ERROR KmsLib_Test - make depend failed
exit 20
fi
cd ..
# ===== End =================================================================
echo OK