]> git.pld-linux.org Git - packages/awesfx.git/commitdiff
- s/ETC_DIR/HOME_ETC/, leave dots
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 21 Aug 2003 14:57:19 +0000 (14:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    awesfx-etc_dir.patch -> 1.2

awesfx-etc_dir.patch

index 27b7f2f8f4261d9ef74800bd9d318d42781d5e9b..af7a3ffce284c1985a5bcbca5389d0134533974f 100644 (file)
@@ -5,7 +5,7 @@ diff -Nru awesfx-0.4.4/awelib/config.h awesfx-0.4.4.new/awelib/config.h
  /* rc file & command line options */
  #define SYSTEM_RCFILE         "/etc/sfxloadrc"
  #define RCFILE                        ".sfxloadrc"
-+#define ETC_DIR_RCFILE "sfxloadrc"
++#define ETC_DIR_RCFILE                ".sfxloadrc"
  
  /* big endian machine defines this */
  #undef BUILD_BIG_ENDIAN
@@ -16,7 +16,7 @@ diff -Nru awesfx-0.4.4/awelib/optfile.c awesfx-0.4.4.new/awelib/optfile.c
        OptionFile *rec;
  
        *rcfile = 0;
-+      if ((p = getenv("ETC_DIR")) != NULL && *p) {
++      if ((p = getenv("HOME_ETC")) != NULL && *p) {
 +              sprintf(rcfile, "%s/%s", p, ETC_DIR_RCFILE);
 +              if (access(rcfile, R_OK) != 0)
 +                      rcfile[0] = 0;
This page took 0.071632 seconds and 4 git commands to generate.