diff options
author | Renaud Chaillat <rchaillat@mandriva.com> | 2001-08-31 13:07:57 +0000 |
---|---|---|
committer | Renaud Chaillat <rchaillat@mandriva.com> | 2001-08-31 13:07:57 +0000 |
commit | 697c6f02e28cfab507f3e0210188a56d14a1ecb6 (patch) | |
tree | 9442dc0778d9a39df3bf644b365c7560dd927e60 /mdkonline | |
parent | ccbe539209df7c35ce55875d2cb7c97eb5b91000 (diff) | |
download | mgaonline-697c6f02e28cfab507f3e0210188a56d14a1ecb6.tar mgaonline-697c6f02e28cfab507f3e0210188a56d14a1ecb6.tar.gz mgaonline-697c6f02e28cfab507f3e0210188a56d14a1ecb6.tar.bz2 mgaonline-697c6f02e28cfab507f3e0210188a56d14a1ecb6.tar.xz mgaonline-697c6f02e28cfab507f3e0210188a56d14a1ecb6.zip |
changed the paths order to look for scripts
Diffstat (limited to 'mdkonline')
-rwxr-xr-x | mdkonline | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -188,7 +188,7 @@ sub test_passwd () { # print STDERR "Login: $login\n"; my $ssh_script = ""; - foreach ("./sshlogin.exp", "/usr/bin/sshlogin.exp") { + foreach ("/usr/bin/sshlogin.exp","./sshlogin.exp") { [ -e "$_" ] and $ssh_script="$_", last; } # print "Exec: $ssh_script $login $authentication_host $passwd \n"; @@ -213,7 +213,7 @@ sub send_config { `/usr/sbin/drakbug_report > /root/drakbug_report.log`; my $scp_script = ""; - foreach ("./scpcall.exp", "/usr/bin/scpcall.exp") { + foreach ("/usr/bin/scpcall.exp","./scpcall.exp") { [ -e "$_" ] and $scp_script="$_", last; } # print "Exec: $scp_script /root/drakbug_report.log $login $authentication_host $passwd \n"; |