diff options
author | root <root@darth_serious> | 2013-02-14 13:11:36 +0100 |
---|---|---|
committer | root <root@darth_serious> | 2013-02-14 13:11:36 +0100 |
commit | 6722589766e34218dd8d4366edbab4e23f252391 (patch) | |
tree | 2ba67bd239371326b62bb6b39cec80e3e62fe7be /services/bin | |
parent | 62b197ea0604cf9d785bf67eefcf7be00daa92b9 (diff) |
fix update-services-pubkeys
Diffstat (limited to 'services/bin')
-rwxr-xr-x | services/bin/update-services-pubkeys | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/bin/update-services-pubkeys b/services/bin/update-services-pubkeys index 6a658607..9936c402 100755 --- a/services/bin/update-services-pubkeys +++ b/services/bin/update-services-pubkeys @@ -1,5 +1,3 @@ #!/bin/sh KREBS_ROOT="${KREBS_ROOT:-/krebs}" -ssh $1 <<EOF -sh -eufc "cd $KREBS_ROOT;git pull origin master;make -C $KREBS_ROOT/services ssh_authorized_keys" -EOF +ssh $1 -t "cd ${KREBS_ROOT};git pull origin master;sudo -u services make -C $KREBS_ROOT/services ssh_authorized_keys" |