From cd2ac6e38a52aaa1db62597bd95f6f04b7f01409 Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Wed, 14 Feb 2018 14:45:47 +0100 Subject: fix install script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I12afb382ff79d47853a36c015f5026fb83b0f475 Signed-off-by: Loïc Collignon --- scripts/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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() { -- cgit 1.2.3-korg