diff options
-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() { |