mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
updated client script
This commit is contained in:
parent
0e011a77b5
commit
8e2bd17704
@ -9,4 +9,4 @@
|
|||||||
#define APIEIGER 0x200805
|
#define APIEIGER 0x200805
|
||||||
#define APILIB 0x200810
|
#define APILIB 0x200810
|
||||||
#define APIRECEIVER 0x200810
|
#define APIRECEIVER 0x200810
|
||||||
#define APIGUI 0x200803
|
#define APIGUI 0x200804
|
||||||
|
@ -14,10 +14,10 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
#find branch
|
#find branch
|
||||||
CURR_BRANCH=$(git branch | grep \* | cut -d ' ' -f2)
|
CURR_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
||||||
#update branch
|
#update branch
|
||||||
BRANCH=$(cat $API_FILE | grep GITBRANCH | cut -d' ' -f3)
|
BRANCH=$(cat $API_FILE | grep GITBRANCH | awk '{print $3}' )
|
||||||
sed -i s/$BRANCH/\"$CURR_BRANCH\"/g $API_FILE
|
sed -i s/$BRANCH/\"$CURR_BRANCH\"/g $API_FILE
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user