mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Windows: Support cygwin cache for test. (#3259)
This commit is contained in:
parent
b18ee398ed
commit
b9284b6cc6
2 changed files with 33 additions and 9 deletions
|
@ -317,8 +317,8 @@ echo ""
|
|||
#####################################################################################
|
||||
# Try to load cache if exists /usr/local/srs-cache
|
||||
#####################################################################################
|
||||
# Use srs-cache from base image.
|
||||
# See https://github.com/ossrs/dev-docker/blob/ubuntu20-cache/Dockerfile
|
||||
# Use srs-cache from base image. See https://github.com/ossrs/dev-docker/blob/ubuntu20-cache/Dockerfile
|
||||
# Note that the cache for cygwin is not under /usr/local, but copy to objs instead.
|
||||
if [[ -d /usr/local/srs-cache/srs/trunk/objs && $(pwd) != "/usr/local/srs-cache/srs/trunk" ]]; then
|
||||
SOURCE_DIR=$(ls -d /usr/local/srs-cache/srs/trunk/objs/Platform-* 2>/dev/null|head -n 1)
|
||||
if [[ -d $SOURCE_DIR ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue