This commit is contained in:
belliash 2012-01-17 21:41:18 +01:00
parent 88d7083944
commit ad47a7b0ab
2 changed files with 2 additions and 2 deletions

2
ezsync
View File

@ -88,7 +88,7 @@ fi
# Initialize EzBuild environment # Initialize EzBuild environment
makeCoreDirectories || die "EzBuild was unable to create all necessary directories!" 1 makeCoreDirectories || die "EzBuild was unable to create all necessary directories!" 1
EZNOTIFY="yes" EZNOTIFY="yes"
prepareSshWrappers || die "EzBuild was unable to create a wrapper files to SSH" 1 prepareWrappers || die "EzBuild was unable to create a wrapper files!" 1
trap 'die "Process killed! This may lead into unexpected problems!"' 1 2 3 9 15 17 18 23 trap 'die "Process killed! This may lead into unexpected problems!"' 1 2 3 9 15 17 18 23
# Load necessary public keys # Load necessary public keys

View File

@ -6,7 +6,7 @@
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Prepares SSH Wrappers for use with unknown hosts (requires key authentication) # Prepares SSH Wrappers for use with unknown hosts (requires key authentication)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
function prepareSshWrappers() { function prepareWrappers() {
run "cp ${EZROOT}/files/ssh_wrapper.sh ${BINDIR}/ssh_wrapper.sh" || return 1 run "cp ${EZROOT}/files/ssh_wrapper.sh ${BINDIR}/ssh_wrapper.sh" || return 1
run "chmod +x ${BINDIR}/ssh_wrapper.sh" || return 1 run "chmod +x ${BINDIR}/ssh_wrapper.sh" || return 1
export GIT_SSH="${BINDIR}/ssh_wrapper.sh" export GIT_SSH="${BINDIR}/ssh_wrapper.sh"