1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/3rdparty/copy_to_gits.sh

23 lines
486 B
Bash
Raw Normal View History

2021-05-03 02:01:53 +00:00
#!/bin/bash
2021-05-03 02:06:56 +00:00
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
2021-05-03 02:01:53 +00:00
echo "Copy signaling"
2021-05-03 06:27:43 +00:00
cp -R signaling/* ~/git/signaling/ && (cd ~/git/signaling && git st)
2021-05-03 02:01:53 +00:00
echo "Copy httpx-static"
2021-05-03 06:27:43 +00:00
cp -R httpx-static/* ~/git/go-oryx/httpx-static/ && (cd ~/git/go-oryx && git st)
2021-05-03 02:01:53 +00:00
echo "Copy srs-bench"
2021-05-03 06:27:43 +00:00
cp -R srs-bench/* ~/git/srs-bench/ && (cd ~/git/srs-bench && git st)