-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathpost-prepare.sh
executable file
·33 lines (25 loc) · 1 KB
/
post-prepare.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
#!/bin/bash
set -e
# Set VV in .travis.yml to make scripts verbose
[ "$VV" ] && set -x
CACHEDIR=${CACHEDIR:-${HOME}/.cache}
# sanity check
pwd
# source functions
. ./.ci/travis/utils.sh
# Add SUPPORT to RELEASE.local in the cache directory
#!update_release_local SUPPORT ${CACHEDIR}
# Copy the RELEASE.local from the cache directory to motor's configure directory
#![ -e ./configure ] && cp -f ${CACHEDIR}/RELEASE.local ./configure/RELEASE.local
#!echo -e "${ANSI_BLUE}Updated contents of RELEASE.local${ANSI_RESET}"
#!cat ${CACHEDIR}/RELEASE.local
# Comment out SUPPORT from motor's RELEASE file
sed -i -e "s|^\(SUPPORT=.*\)$|#\1|g" ./configure/RELEASE
#
echo -e "${ANSI_BLUE}Updated motor/configure/RELEASE${ANSI_RESET}"
grep SUPPORT ./configure/RELEASE
# Comment out SUPPORT from motorOms's RELEASE file
sed -i -e "s|^\(SUPPORT=.*\)$|#\1|g" ./modules/motorOms/configure/RELEASE
#
echo -e "${ANSI_BLUE}Updated motor/modules/motorOms/configure/RELEASE${ANSI_RESET}"
grep SUPPORT ./modules/motorOms/configure/RELEASE