diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-02-14 14:45:47 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2018-02-14 14:45:47 +0100 |
commit | cd2ac6e38a52aaa1db62597bd95f6f04b7f01409 (patch) | |
tree | baed02082b2efac936e44e2032b66e5445f9a619 /scripts | |
parent | bd7d251c885340ab50038d162c825178b980554b (diff) |
fix install script
Change-Id: I12afb382ff79d47853a36c015f5026fb83b0f475
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 6e901e6..8363ff4 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -26,10 +26,10 @@ DESTDIR=${DESTDIR:-/opt/AGL/xds/gdb} 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-gdb.sh - sed -e "s;%%XDS_INSTALL_BIN_DIR%%;${DESTDIR};g" ${ROOT_SRCDIR}/conf.d/${FILE} > ${FILE} || exit 1 + sed -e "s;%%XDS_INSTALL_BIN_DIR%%;${DESTDIR};g" "${ROOT_SRCDIR}/conf.d/${FILE}" > "${FILE}" || exit 1 } uninstall() { |