[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3740 - in trunk/OpenDNSSEC: . signer/src/util

Jakob Schlyter jakob at kirei.se
Wed Aug 11 16:32:28 CEST 2010


Author: jakob
Date: 2010-08-11 16:32:27 +0200 (Wed, 11 Aug 2010)
New Revision: 3740

Modified:
   trunk/OpenDNSSEC/configure.ac
   trunk/OpenDNSSEC/signer/src/util/file.c
Log:
the cp command is not opendnssec specific, rename slightly. also remove subst as it is not needed

Modified: trunk/OpenDNSSEC/configure.ac
===================================================================
--- trunk/OpenDNSSEC/configure.ac	2010-08-11 13:38:26 UTC (rev 3739)
+++ trunk/OpenDNSSEC/configure.ac	2010-08-11 14:32:27 UTC (rev 3740)
@@ -26,9 +26,8 @@
 AC_PATH_PROG(XMLLINT, xmllint)
 AC_PATH_PROG(XSLTPROC, xsltproc)
 AC_PATH_PROG(JAVA, java)
-AC_PATH_PROG(OPENDNSSEC_CP_COMMAND, cp)
-AC_SUBST([OPENDNSSEC_CP_COMMAND])
-AC_DEFINE_UNQUOTED(OPENDNSSEC_CP_COMMAND, "$OPENDNSSEC_CP_COMMAND", [system cp])
+AC_PATH_PROG(CP, cp)
+AC_DEFINE_UNQUOTED(CP_COMMAND, "$CP", [System cp(3) command])
 
 # building
 ACX_ARG_RPATH

Modified: trunk/OpenDNSSEC/signer/src/util/file.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/util/file.c	2010-08-11 13:38:26 UTC (rev 3739)
+++ trunk/OpenDNSSEC/signer/src/util/file.c	2010-08-11 14:32:27 UTC (rev 3740)
@@ -293,7 +293,7 @@
     se_log_assert(file2);
 
     snprintf(str, SYSTEM_MAXLEN, "%s %s %s > /dev/null",
-        OPENDNSSEC_CP_COMMAND, file1, file2);
+        CP_COMMAND, file1, file2);
     se_log_debug("system call: %s", str);
     return system(str);
 }




More information about the Opendnssec-commits mailing list