1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk/3rdparty/copy_to_gits.sh
2021-05-05 13:26:25 +08:00

22 lines
486 B
Bash
Executable file

#!/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/* ~/git/signaling/ && (cd ~/git/signaling && git st)
echo "Copy httpx-static"
cp -R httpx-static/* ~/git/go-oryx/httpx-static/ && (cd ~/git/go-oryx && git st)
echo "Copy srs-bench"
cp -R srs-bench/* ~/git/srs-bench/ && (cd ~/git/srs-bench && git st)