diff --git a/xCAT-web-exp/applytodir b/xCAT-web-exp/applytodir new file mode 100755 index 000000000..8c1439ca8 --- /dev/null +++ b/xCAT-web-exp/applytodir @@ -0,0 +1,17 @@ +svn co http://xcat.svn.sourceforge.net/svnroot/xcat/xcat-core/trunk/xCAT-web-exp +svn co http://xcat.svn.sourceforge.net/svnroot/xcat/xcat-dep/trunk/javascript +mkdir -p $1 +cp -a xCAT-web-exp/* $1 +OLDWD=`pwd` +cd $1 +tar jxvf $OLDWD/javascript/jsTree* +patch -p0 < $OLDWD/javascript/jstree*patch +mv jsTree/images . +mv jsTree/tree* . +mv jsTree/css.js . +mv jsTree/jquery.js . +mv jsTree/jquery.listen.js . +rm -rf jsTree +cp $OLDWD/javascript/jquery.ui.js . +cp $OLDWD/javascript/theme/theme.css . +cp $OLDWD/javascript/theme/images/* images