Address possible .NET Core tmp path change in #1812

This commit is contained in:
JustArchi
2020-06-08 14:29:52 +02:00
parent 04afb5b891
commit 185dde9d34
3 changed files with 6 additions and 6 deletions

View File

@@ -70,8 +70,8 @@ if [ -n "${DOTNET_RUNNING_IN_CONTAINER-}" ] && [ "$DOTNET_RUNNING_IN_CONTAINER"
while [ "$loops" -gt 0 ]; do
sleep 10
if [ -d "/var/tmp/.net/ArchiSteamFarm" ]; then
find "/var/tmp/.net/ArchiSteamFarm" -mindepth 2 -maxdepth 2 -name '*\\*' | while IFS="" read -r broken_path; do
if [ -d "/var/tmp/.net" ]; then
find "/var/tmp/.net" -mindepth 2 -name '*\\*' | while IFS="" read -r broken_path; do
fixed_path="$(echo "$broken_path" | sed 's/\\/\//g')"
mkdir -p "$(dirname "$fixed_path")"

View File

@@ -70,8 +70,8 @@ if [ -n "${DOTNET_RUNNING_IN_CONTAINER-}" ] && [ "$DOTNET_RUNNING_IN_CONTAINER"
while [ "$loops" -gt 0 ]; do
sleep 10
if [ -d "/var/tmp/.net/ArchiSteamFarm" ]; then
find "/var/tmp/.net/ArchiSteamFarm" -mindepth 2 -maxdepth 2 -name '*\\*' | while IFS="" read -r broken_path; do
if [ -d "/var/tmp/.net" ]; then
find "/var/tmp/.net" -mindepth 2 -name '*\\*' | while IFS="" read -r broken_path; do
fixed_path="$(echo "$broken_path" | sed 's/\\/\//g')"
mkdir -p "$(dirname "$fixed_path")"

View File

@@ -70,8 +70,8 @@ if [ -n "${DOTNET_RUNNING_IN_CONTAINER-}" ] && [ "$DOTNET_RUNNING_IN_CONTAINER"
while [ "$loops" -gt 0 ]; do
sleep 10
if [ -d "/var/tmp/.net/ArchiSteamFarm" ]; then
find "/var/tmp/.net/ArchiSteamFarm" -mindepth 2 -maxdepth 2 -name '*\\*' | while IFS="" read -r broken_path; do
if [ -d "/var/tmp/.net" ]; then
find "/var/tmp/.net" -mindepth 2 -name '*\\*' | while IFS="" read -r broken_path; do
fixed_path="$(echo "$broken_path" | sed 's/\\/\//g')"
mkdir -p "$(dirname "$fixed_path")"