summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-02-14 14:43:13 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-02-14 14:43:13 +0100
commitfb1400119d4e3d99e10af1d302a744b7eba5ae25 (patch)
treec1da8e4a8242a6641ec7953bddd82fb6e29bbb86
parent5ce05ccae810f532e73350a205b979faf2603235 (diff)
fix install script
Change-Id: I00e43d9df9521cfebea93d63eb5ec7bccf272a64 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
-rwxr-xr-xscripts/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 63326e3..0087302 100755
--- 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