|
@@ -15,7 +15,7 @@ cd ${SRCPATH_QWBOT}
|
|
|
|
|
|
BIN_QWBOT="cimsqwbot"
|
|
BIN_QWBOT="cimsqwbot"
|
|
CFG_QWBOT="cimsqwbot.cfg"
|
|
CFG_QWBOT="cimsqwbot.cfg"
|
|
-STARTER="startcimsqwbot.sh"
|
|
|
|
|
|
+STARTER="start_cmp_qwbot.sh"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -80,22 +80,25 @@ git submodule update --init --recursive
|
|
# we always make them both...
|
|
# we always make them both...
|
|
cd "$SRCPATH_LIBQWCL"
|
|
cd "$SRCPATH_LIBQWCL"
|
|
qmake
|
|
qmake
|
|
|
|
+make clean
|
|
make
|
|
make
|
|
|
|
|
|
cd "${SRCPATH_QWBOT}"
|
|
cd "${SRCPATH_QWBOT}"
|
|
qmake
|
|
qmake
|
|
|
|
+make clean
|
|
make
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d "${INST_LOCATION}" ]; then
|
|
if [ -d "${INST_LOCATION}" ]; then
|
|
#copy assets over
|
|
#copy assets over
|
|
- echo "Copying qwbot binary..."
|
|
|
|
|
|
+ echo "Copying qwbot binary and starting script..."
|
|
cp "${BIN_QWBOT}" "${INST_LOCATION}"
|
|
cp "${BIN_QWBOT}" "${INST_LOCATION}"
|
|
|
|
+ cp "${STARTER}" "${INST_LOCATION}"
|
|
|
|
|
|
echo "Copying qwclient library..."
|
|
echo "Copying qwclient library..."
|
|
mkdir -p "${INST_LOCATION}/libqwclient"
|
|
mkdir -p "${INST_LOCATION}/libqwclient"
|
|
- cp "${SRCPATH_LIBQWCL}/*.so.*" "${INST_LOCATION}/libqwclient/"
|
|
|
|
|
|
+ cp -d ${SRCPATH_LIBQWCL}/*.so.* "${INST_LOCATION}/libqwclient/"
|
|
|
|
|
|
# change into that target directory
|
|
# change into that target directory
|
|
cd ${INST_LOCATION}
|
|
cd ${INST_LOCATION}
|
|
@@ -146,7 +149,7 @@ if [ -d "${INST_LOCATION}" ]; then
|
|
echo
|
|
echo
|
|
else
|
|
else
|
|
#missing
|
|
#missing
|
|
- echo "For some reason I can't create or access the target directory ${INST_LOCATION} ..."
|
|
|
|
|
|
+ echo "For some reason I can't create or access the target directory ${INST_LOCATION} ...is it alive?"
|
|
exit
|
|
exit
|
|
fi
|
|
fi
|
|
|
|
|