summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorRenaud Chaillat <rchaillat@mandriva.com>2001-08-31 13:07:57 +0000
committerRenaud Chaillat <rchaillat@mandriva.com>2001-08-31 13:07:57 +0000
commit697c6f02e28cfab507f3e0210188a56d14a1ecb6 (patch)
tree9442dc0778d9a39df3bf644b365c7560dd927e60 /mdkonline
parentccbe539209df7c35ce55875d2cb7c97eb5b91000 (diff)
downloadmgaonline-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-xmdkonline4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkonline b/mdkonline
index f84316d7..b149f184 100755
--- a/mdkonline
+++ b/mdkonline
@@ -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";