Code Review
/
src
/
xds
/
xds-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5ce05cc
)
fix install script
39/13439/1
author
Loïc Collignon
<loic.collignon@iot.bzh>
Wed, 14 Feb 2018 13:43:13 +0000
(14:43 +0100)
committer
Loïc Collignon
<loic.collignon@iot.bzh>
Wed, 14 Feb 2018 13:43:13 +0000
(14:43 +0100)
Change-Id: I00e43d9df9521cfebea93d63eb5ec7bccf272a64
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
scripts/install.sh
patch
|
blob
|
history
diff --git
a/scripts/install.sh
b/scripts/install.sh
index
63326e3
..
0087302
100755
(executable)
--- a/
scripts/install.sh
+++ b/
scripts/install.sh
@@
-27,7
+27,7
@@
DESTDIR=${DESTDIR:-/opt/AGL/xds/cli}
ROOT_SRCDIR=$(cd $(dirname "$0")/.. && pwd)
install() {
- mkdir -p "${DESTDIR}" && cp "${ROOT_SRCDIR}/bin/
*"
"${DESTDIR}" || exit 1
+ mkdir -p "${DESTDIR}" && cp "${ROOT_SRCDIR}/bin/
"*
"${DESTDIR}" || exit 1
FILE=/etc/profile.d/xds-cli.sh
sed -e "s;%%XDS_INSTALL_BIN_DIR%%;${DESTDIR};g" "${ROOT_SRCDIR}/conf.d/${FILE}" > ${FILE} || exit 1