aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/install.sh4
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() {