1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Tools: Refine script

This commit is contained in:
winlin 2021-05-03 10:06:56 +08:00
parent 2783ac7c92
commit fc23b9e5f5

View file

@ -1,10 +1,22 @@
#!/bin/bash
if [[ ! -d signaling ]]; then
cd 3rdparty
fi
if [[ ! -d signaling ]]; then
echo "no 3rdparty"
exit -1
fi
if [[ ! -d ~/git/signaling ]]; then
echo "no signaling"
exit -1
fi
echo "Copy signaling"
cp -R ~/signaling/* signaling/
cp -R ~/git/signaling/* signaling/
echo "Copy httpx-static"
cp -R ~/httpx-static/* httpx-static/
cp -R ~/git/go-oryx/httpx-static/* httpx-static/
echo "Copy srs-bench"
cp -R ~/srs-bench/* srs-bench/
cp -R ~/git/srs-bench/* srs-bench/