Browse Source

Follow symlinks when looking for dist and user paths

Alois Mahdal 9 years ago
parent
commit
3618dfe3f2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/bin/saturnin.skel

+ 2
- 2
src/bin/saturnin.skel View File

@@ -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"