[Ultrapossum-cvs 798] projects/nss 1.1,1.2,ldap2nssdb

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 12日 (火) 02:47:05 JST


===================================================================
RCS file: projects/nss/ldap2nssdb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- projects/nss/ldap2nssdb	2004/10/11 17:05:25	1.1
+++ projects/nss/ldap2nssdb	2004/10/11 17:47:05	1.2
@@ -9,9 +9,10 @@
 dbgen() {
   echo -n "Creating $2... " 1>&2
   if test "x$3" != "x"; then
-    touch $2.db; chmod $3 $2.db
+    touch $2.db $2; chmod $3 $2.db $2
   fi
-  $SCRIPTSDIR/ldap2$1.pl $EXTRA_ARGS | $SCRIPTSDIR/compat2makedb $2 | makedb -o $2.db -
+  $SCRIPTSDIR/ldap2$1.pl $EXTRA_ARGS > $2
+  $SCRIPTSDIR/compat2makedb $2 < $2 | makedb -o $2.db -
   echo "done" 1>&2
 }
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index