diff options
Diffstat (limited to 'docker/debian-dev/bootstrap/apt-source')
| -rwxr-xr-x | docker/debian-dev/bootstrap/apt-source/get-domain.bash | 1 | ||||
| -rwxr-xr-x | docker/debian-dev/bootstrap/apt-source/setup.bash | 5 | 
2 files changed, 2 insertions, 4 deletions
diff --git a/docker/debian-dev/bootstrap/apt-source/get-domain.bash b/docker/debian-dev/bootstrap/apt-source/get-domain.bash index c9b93b1..d44ea65 100755 --- a/docker/debian-dev/bootstrap/apt-source/get-domain.bash +++ b/docker/debian-dev/bootstrap/apt-source/get-domain.bash @@ -3,4 +3,3 @@  set -e  sed "s|.*https\?://\([-_.a-zA-Z0-9]\+\)/.*|\\1|;q" /etc/apt/sources.list - diff --git a/docker/debian-dev/bootstrap/apt-source/setup.bash b/docker/debian-dev/bootstrap/apt-source/setup.bash index 36065f6..60e635b 100755 --- a/docker/debian-dev/bootstrap/apt-source/setup.bash +++ b/docker/debian-dev/bootstrap/apt-source/setup.bash @@ -2,12 +2,11 @@  set -e -dir=$(dirname $0) +dir=$(dirname "$0")  if [[ -n $IN_CHINA ]]; then -    "$dir/replace-domain.bash" $(cat "$dir/china-source.txt") +    "$dir/replace-domain.bash" "$(cat "$dir/china-source.txt")"  fi  "$dir/install-apt-https.bash"  "$dir/replace-http.bash" -  | 
