Changed the -n flag of cp to -f, not equivalent, but it gets the job done.

This commit is contained in:
John Resig 2006-08-14 03:54:44 +00:00
parent 7e5a2bd738
commit 269ff25860

View File

@ -67,7 +67,7 @@ test: ${JQ}
@@rm -f ${TEST_DIR}/tests/* @@rm -f ${TEST_DIR}/tests/*
@@echo " - Copying over script files." @@echo " - Copying over script files."
@@cp -nR ${BUILD_DIR}/test/js ${TEST_DIR}/js @@cp -fR ${BUILD_DIR}/test/js ${TEST_DIR}/js
@@echo " - Compiling Test Cases" @@echo " - Compiling Test Cases"
@@${JAR} ${BUILD_DIR}/test/test.js ${JQ} ${TEST_DIR} @@${JAR} ${BUILD_DIR}/test/test.js ${JQ} ${TEST_DIR}
@ -83,10 +83,10 @@ docs: ${JQ}
@@mkdir -p ${DOCS_DIR}/data @@mkdir -p ${DOCS_DIR}/data
@@echo " - Copying over script files." @@echo " - Copying over script files."
@@cp -nR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js @@cp -fR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js
@@echo " - Copying over style files." @@echo " - Copying over style files."
@@cp -nR ${BUILD_DIR}/docs/style ${DOCS_DIR}/style @@cp -fR ${BUILD_DIR}/docs/style ${DOCS_DIR}/style
@@echo " - Extracting ScriptDoc from" ${JQ} @@echo " - Extracting ScriptDoc from" ${JQ}
@@${JAR} ${BUILD_DIR}/docs/docs.js ${JQ} ${DOCS_DIR} @@${JAR} ${BUILD_DIR}/docs/docs.js ${JQ} ${DOCS_DIR}