Code Review
/
src
/
xds
/
xds-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add gitreview file for Lucky Lamprey branch
[src/xds/xds-gdb.git]
/
scripts
/
install.sh
diff --git
a/scripts/install.sh
b/scripts/install.sh
index
b601d12
..
8363ff4
100755
(executable)
--- a/
scripts/install.sh
+++ b/
scripts/install.sh
@@
-1,6
+1,6
@@
#!/bin/bash
###########################################################################
#!/bin/bash
###########################################################################
-# Copyright 2017 IoT.bzh
+# Copyright 2017
-2018
IoT.bzh
#
# author: Sebastien Douheret <sebastien@iot.bzh>
#
#
# author: Sebastien Douheret <sebastien@iot.bzh>
#
@@
-26,10
+26,10
@@
DESTDIR=${DESTDIR:-/opt/AGL/xds/gdb}
ROOT_SRCDIR=$(cd $(dirname "$0")/.. && pwd)
install() {
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
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() {
}
uninstall() {