mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Don't bother chowning the client /var/portbuild/, it just takes too long
and this doesn't happen in practise unless you screwed up manually.
This commit is contained in:
parent
e0db90a164
commit
35fb7ca9ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155146
@ -32,9 +32,6 @@ fi
|
||||
|
||||
scp -p ${pb}/scripts/setupnode ${client_user}@${node}:/tmp
|
||||
ssh -n ${client_user}@${node} ${sudo_cmd} sh /tmp/setupnode ${nocopy} $(hostname) ${pb} ${arch} ${branch} ${scratchdir} ${md5} ${disconnected}
|
||||
if [ ! -z "${sudo_cmd}" -a ${disconnected} = "1" ]; then
|
||||
ssh -n ${client_user}@${node} ${sudo_cmd} "chown -R ${client_user} /var/portbuild/"
|
||||
fi
|
||||
|
||||
if [ "${disconnected}" = 1 -a "${norsync}" = 0 ]; then
|
||||
rsync ${rsync_gzip} -r -l -p --delete ${pb}/scripts ${client_user}@${node}:${pb}/
|
||||
|
Loading…
Reference in New Issue
Block a user