- updated: use HOME_ETC, leave dot
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Apr 2004 13:45:48 +0000 (13:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bluez-utils-etc_dir.patch -> 1.2

bluez-utils-etc_dir.patch

index 82aa7d95c6b6348ab0e3c5dcc1252c724616a5bc..e7234a54b4429b174173bfe601b89475e92b4563 100644 (file)
@@ -6,9 +6,9 @@ diff -Nru bluez-utils-2.2/rfcomm/parser.y bluez-utils-2.2.new/rfcomm/parser.y
                snprintf(file, MAXPATHLEN,  "%s", filename);
        } else {
 -              snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", getenv("HOME"));
-+              char *etc_dir = getenv("ETC_DIR");
++              char *etc_dir = getenv("HOME_ETC");
 +              if (etc_dir)
-+                      snprintf(file, MAXPATHLEN, "%s/bluetooth/rfcomm.conf", etc_dir);
++                      snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", etc_dir);
 +              else
 +                      snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", getenv("HOME"));
  
This page took 0.043989 seconds and 4 git commands to generate.