blob: 29ab1e52ce78b7f8d58e8332fe766013aa269f18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- rarian-0.8.1/util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200
+++ rarian-0.8.1/util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200
@@ -160,6 +160,11 @@
{
char *filename = NULL;
char *user = getenv ("USERNAME");
+
+ if (user == NULL) {
+ user = getenv ("USER");
+ }
+
char *basepath = NULL;
int i=0;
int last = 0;
|