Jelajahi Sumber

copying should work

Paul Klumpp 10 tahun lalu
induk
melakukan
9582fedc3f
1 mengubah file dengan 6 tambahan dan 4 penghapusan
  1. 6 4
      install.sh

+ 6 - 4
install.sh

@@ -82,8 +82,6 @@ cd "$SRCPATH_LIBQWCL"
 qmake
 make
 
-ln -s ${SRCPATH_LIBQWCL}/QWClient.h ${SRCPATH_QWBOT}/QWClient.h
-ln -s ${SRCPATH_LIBQWCL}/qwclient_global.h ${SRCPATH_QWBOT}/qwclient_global.h
 cd "${SRCPATH_QWBOT}"
 qmake
 make
@@ -92,8 +90,12 @@ make
 
 if [ -d "${INST_LOCATION}" ]; then
   #copy assets over
-  echo binary
-  
+  echo "Copying qwbot binary..."
+  cp "${BIN_QWBOT}" "${INST_LOCATION}"
+
+  echo "Copying qwclient library..."
+  mkdir -p "${INST_LOCATION}/libqwclient"
+  cp "${SRCPATH_LIBQWCL}/*.so.*" "${INST_LOCATION}/libqwclient/"
   
   # change into that target directory
   cd ${INST_LOCATION}