diff options
Diffstat (limited to 'scripts/update_hosts.sh')
| -rwxr-xr-x | scripts/update_hosts.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_hosts.sh b/scripts/update_hosts.sh index 4f32722..5b84254 100755 --- a/scripts/update_hosts.sh +++ b/scripts/update_hosts.sh @@ -61,14 +61,14 @@ for host in $hosts; do fi tmp="$(mktemp -d -t "server_build_script_XXXXX")" - trap 'rm -r "$tmp"' EXIT + trap 'rm -rf "$tmp"' EXIT if [ "$direct" = true ]; then git archive --format=tar.gz HEAD | { cd "$tmp" tar -xz } else - git clone "git.foss-syndicate.org" --branch="$branch" "$tmp" + git clone "$(git remote get-url origin)" --branch="$branch" "$tmp" fi cd "$tmp" |
