Skip to content
Permalink
Browse files
Changed the -n flag of cp to -f, not equivalent, but it gets the job …
…done.
  • Loading branch information
jeresig committed Aug 14, 2006
1 parent 7e5a2bd commit 269ff25860737c7bd86d451256886332263c07fd
Showing 1 changed file with 3 additions and 3 deletions.
@@ -67,7 +67,7 @@ test: ${JQ}
@@rm -f ${TEST_DIR}/tests/*

@@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"
@@${JAR} ${BUILD_DIR}/test/test.js ${JQ} ${TEST_DIR}
@@ -83,10 +83,10 @@ docs: ${JQ}
@@mkdir -p ${DOCS_DIR}/data

@@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."
@@cp -nR ${BUILD_DIR}/docs/style ${DOCS_DIR}/style
@@cp -fR ${BUILD_DIR}/docs/style ${DOCS_DIR}/style

@@echo " - Extracting ScriptDoc from" ${JQ}
@@${JAR} ${BUILD_DIR}/docs/docs.js ${JQ} ${DOCS_DIR}

0 comments on commit 269ff25

Please sign in to comment.