diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-14 19:51:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-14 19:51:28 +0000 |
commit | e9295e20a0417cd9d651a2df59f8577620c48896 (patch) | |
tree | e6f8e6971de40bbe45268e25b01a85f915a68aec /scripts | |
parent | e22f1042fc6debde9eb448efd64321b1a740fda3 (diff) | |
download | brdo-e9295e20a0417cd9d651a2df59f8577620c48896.tar.gz brdo-e9295e20a0417cd9d651a2df59f8577620c48896.tar.bz2 |
- Small improvement (by Natrak) to display the correct CVS username.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/cvs-to-sql.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cvs-to-sql.pl b/scripts/cvs-to-sql.pl index 355d22739..e957008fb 100644 --- a/scripts/cvs-to-sql.pl +++ b/scripts/cvs-to-sql.pl @@ -9,7 +9,7 @@ my $db_pass = 'drupal'; my $files = $ARGV[0]; my @message = <STDIN>; my $message = join '' , @message; -my $user = $ENV{USER}; +my $user = $ARGV[1]; my $timestamp = time(); my $db = DBI->connect("DBI:mysql:$db_name", "$db_user", "$db_pass") or die "Couldn't connect to database: " . DBI->errstr; |