distribution instructions in readme, easy run scripts in staging folders
This commit is contained in:
parent
f13e16ebd5
commit
3538cac0d8
2 changed files with 13 additions and 10 deletions
|
|
@ -109,14 +109,14 @@ cp -r resources/* staging/test/
|
|||
|
||||
echo "[+] Adding wrapper script for client"
|
||||
# This could also be a .desktop file without much more work.
|
||||
cat << EOF > staging/client/client.sh
|
||||
./JobServ/bin/jobserv-client "${@:4}"
|
||||
cat << EOF > staging/client/client
|
||||
./JobServ/bin/jobserv-client private.pem client.crt ca.crt \$@
|
||||
EOF
|
||||
chown +x staging/client/client.sh
|
||||
chmod +x staging/client/client.sh
|
||||
|
||||
echo "[+] Adding wrapper script for server"
|
||||
# This could also be a .desktop file without much more work.
|
||||
cat << EOF > staging/server/server.sh
|
||||
./JobServ/bin/jobserv-server "$1"
|
||||
cat << EOF > staging/server/server
|
||||
./JobServ/bin/jobserv-server \$1 server.crt private.pem ca.crt
|
||||
EOF
|
||||
chown +x staging/server/server.sh
|
||||
chmod +x staging/server/server.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue