From 9a114d11926fc9812b74e02952201dc033f611e0 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 29 Jan 2007 11:59:04 +0000 Subject: [PATCH] 'sed -i' is better because it preserves the executable flag --- .../src/modules/storageAdmin/etc/Makefile.in | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/campcaster/src/modules/storageAdmin/etc/Makefile.in b/campcaster/src/modules/storageAdmin/etc/Makefile.in index e5738d006..202724cb8 100644 --- a/campcaster/src/modules/storageAdmin/etc/Makefile.in +++ b/campcaster/src/modules/storageAdmin/etc/Makefile.in @@ -124,15 +124,13 @@ check: all install: ${MKDIR} ${DEST_DIR}/bin ${CP} ${BIN_DIR}/*.sh ${DEST_DIR}/bin + ${CP} ${BIN_DIR}/campcaster-import ${DEST_DIR}/bin ${RM} ${DEST_DIR}/bin/autogen.sh - ${CAT} ${BIN_DIR}/campcaster-import | ${SED} -e ${SED_PHPPART_DIR} \ - > ${DEST_DIR}/bin/campcaster-import - ${CAT} ${BIN_DIR}/backup.sh | ${SED} -e ${SED_PHPPART_DIR} \ - > ${DEST_DIR}/bin/backup.sh - ${CAT} ${BIN_DIR}/restore.sh | ${SED} -e ${SED_PHPPART_DIR} \ - > ${DEST_DIR}/bin/restore.sh - ${CAT} ${BIN_DIR}/dumpDbSchema.sh | ${SED} -e ${SED_PHPPART_DIR} \ - > ${DEST_DIR}/bin/dumpDbSchema.sh + ${SED} -i -e ${SED_PHPPART_DIR} \ + ${DEST_DIR}/bin/backup.sh \ + ${DEST_DIR}/bin/restore.sh \ + ${DEST_DIR}/bin/dumpDbSchema.sh \ + ${DEST_DIR}/bin/campcaster-import ${MKDIR} ${PHPPART_DIR} ${CP} ${VAR_DIR}/*.php ${PHPPART_DIR} ${CAT} ${VAR_DIR}/conf.php.template | ${SED} -e ${SED_STORAGE_SERVER} \