1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor(windows): keep build script rerunnable

The build script should not fail if you re-run it from inside the Docker
container it has already ran in. This makes it easier to patch and test
build errors, since you can get into a Docker container, run the build
script, observe the failure, patch the build script and re-run it again.
This commit is contained in:
Maxim Biro 2019-06-25 00:44:46 -04:00
parent 51c5171ca3
commit e2fd8b7bef
No known key found for this signature in database
GPG Key ID: AB3AD9896472BFA4

View File

@ -120,7 +120,7 @@ touch "$APT_CACHE_DIR"/dummy
cp -r "$APT_CACHE_DIR"/* /var/cache/ cp -r "$APT_CACHE_DIR"/* /var/cache/
# remove docker specific config file, this file prevents usage of the package cache # remove docker specific config file, this file prevents usage of the package cache
rm /etc/apt/apt.conf.d/docker-clean rm -f /etc/apt/apt.conf.d/docker-clean
readonly WGET_OPTIONS="--timeout=10" readonly WGET_OPTIONS="--timeout=10"