summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-02-14 14:37:42 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-02-14 14:37:42 +0100
commitbb9af073f62551fd295a9cf236b00e6376ead1ae (patch)
tree7e0f0beec255d7fe3ca0eb70f02cf12e0e98c91d /scripts
parentbd9463c836130c1d37e56be3658076ecd11ed76d (diff)
fix the install script
Change-Id: I9487734be5f95ea5405e436b3fa6faa12aa828d2 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index b981e1f..e6e1c00 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -25,8 +25,8 @@ DESTDIR_WWW=${DESTDIR_WWW:-${DESTDIR}/www}
ROOT_SRCDIR=$(cd $(dirname "$0")/.. && pwd)
install() {
- mkdir -p "${DESTDIR}" && cp "${ROOT_SRCDIR}/bin/*" "${DESTDIR}" || exit 1
- mkdir -p "${DESTDIR_WWW}" && cp -a "${ROOT_SRCDIR}/webapp/dist/*" "${DESTDIR_WWW}" || exit 1
+ mkdir -p "${DESTDIR}" && cp "${ROOT_SRCDIR}/bin/"* "${DESTDIR}" || exit 1
+ mkdir -p "${DESTDIR_WWW}" && cp -a "${ROOT_SRCDIR}/webapp/dist/"* "${DESTDIR_WWW}" || exit 1
cp -a "${ROOT_SRCDIR}/conf.d/etc/xds" /etc/ || exit 1
cp "${ROOT_SRCDIR}/conf.d/etc/default/xds-agent" /etc/default/ || exit 1