3f88fa0a0bddfdc4cd064d2c003a9deefc37d221
hiram
  Fri Feb 7 12:04:01 2014 -0800
use rsync instead of cp --update to avoid errors for cp that doesn't have that option refs #12209
diff --git src/hg/js/makefile src/hg/js/makefile
index 7bb546c..387afb9 100644
--- src/hg/js/makefile
+++ src/hg/js/makefile
@@ -35,17 +35,17 @@
 beta:
 	${GITUP} 
 	${MAKE} doInstall DEST=${DOCUMENTROOT}-beta/js extra=-forceVersionNumbers
 
 clean:
 
 compile:
 
 install:
 	${MAKE} doInstall DEST=${DOCUMENTROOT}/js
 
 doInstall:
 	@mkdir -p ${DEST}/
 	../utils/cpAndLinkToResourceFiles.pl ${extra} -exclude='makefile' -versionFile=../inc/versionInfo.h -destDir=${DEST} ${JS_FILES}
 	for file in ${STATIC_FILES}; do \
-	    cp -p --update $$file ${DEST}; \
+	    rsync -a $$file ${DEST}/; \
 	done