xcat-core/xCAT-web-exp/applytodir

18 lines
531 B
Plaintext
Raw Normal View History

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