]> gitweb.fluxo.info Git - firma.git/commitdiff
small fix on CheckListPermissions
authorrhatto <rhatto>
Sat, 7 Oct 2006 13:54:40 +0000 (13:54 +0000)
committerrhatto <rhatto>
Sat, 7 Oct 2006 13:54:40 +0000 (13:54 +0000)
firma

diff --git a/firma b/firma
index cdabc4c26e99e97869a50ebeaf1e4ff08b6b1909..cba270f6f19d18cb546bb8ba3c4fdf059ca707f4 100755 (executable)
--- a/firma
+++ b/firma
@@ -1124,7 +1124,7 @@ function CheckListPermissions {
 
   # check and fix permissions on all files from $LIST_PATH to $USER.$GROUP
   if [ ! -z "$1" ]; then
-    folder="`basedir $1`"
+    folder="`dirname $1`"
     config="`basename $1`"
     for file in $config pubring.gpg pubring.gpg~ random_seed secring.gpg trustdb.gpg; do
       if CheckPermission $folder/$file; then