Explorar el Código

Follow symlinks when looking for dist and user paths

Alois Mahdal hace 10 años
padre
commit
3618dfe3f2
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/bin/saturnin.skel

+ 2
- 2
src/bin/saturnin.skel Ver fichero

@@ -7,10 +7,10 @@ mkconfpath() {
7 7
     local user="__SATURNIN_CONFIG_USER__"
8 8
     local lcal="__SATURNIN_CONFIG_LOCAL__"
9 9
     local distd="__SATURNIN_SHARE__/ini.d"
10
-    test -d "$userd" && find "$userd" -mindepth 1 -maxdepth 1 -type d
10
+    test -d "$userd" && find -L "$userd" -mindepth 1 -maxdepth 1 -type d
11 11
     echo "$user"
12 12
     echo "$lcal"
13
-    test -d "$distd" && find "$distd" -mindepth 1 -maxdepth 1 -type d
13
+    test -d "$distd" && find -L "$distd" -mindepth 1 -maxdepth 1 -type d
14 14
 }
15 15
 
16 16
 export FFOO_PATH="__SATURNIN_SHARE__/ffoo"