Forráskód Böngészése

verbose when copying.

Paul Klumpp 10 éve
szülő
commit
41ab4507d9
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      install.sh

+ 3 - 3
install.sh

@@ -94,11 +94,11 @@ if [ -d "${INST_LOCATION}" ]; then
   #copy assets over
   echo "Copying qwbot binary and starting script..."
   cp "${BIN_QWBOT}" "${INST_LOCATION}"
-  cp "${STARTER}" "${INST_LOCATION}"
+  cp -v "${STARTER}" "${INST_LOCATION}"
 
   echo "Copying qwclient library..."
   mkdir -p "${INST_LOCATION}/libqwclient"
-  cp -d ${SRCPATH_LIBQWCL}/*.so.* "${INST_LOCATION}/libqwclient/"
+  cp -vd ${SRCPATH_LIBQWCL}/*.so.* "${INST_LOCATION}/libqwclient/"
   
   # change into that target directory
   cd ${INST_LOCATION}
@@ -109,7 +109,7 @@ if [ -d "${INST_LOCATION}" ]; then
     PID=$!
     echo PID $PID
     sleep 1
-    kill $PID
+    kill -9 $PID > /dev/null
   else
     echo
     echo "It seems there have been problems compiling this thing! The binary ./${BIN_QWBOT} is missing."