Files
MagicSetEditor2/Resources.sh
T
coppro 692d5b6286 Updates to make things work.
Some trivial things that are required to make it work on Linux.
Also updated build scripts to use Boost. You have to use
./configure --with-boost-regex=<libname, suitable for -l>


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1206 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-07 17:21:25 +00:00

24 lines
464 B
Bash
Executable File

#! /bin/bash
BASEDIR=~/.magicseteditor/resource
rm -rf $BASEDIR
for DIR in $BASEDIR $BASEDIR/icon $BASEDIR/tool $BASEDIR/cursor
do
if [ -d $DIR ]; then
: ;
elif [ -a $DIR ]; then
echo $DIR "exists and is not a directory!";
exit 1 ;
else
mkdir $DIR;
fi
done
cp src/resource/common/* $BASEDIR;
cp src/resource/msw/tool/* $BASEDIR/tool;
cp src/resource/msw/icon/* $BASEDIR/icon;
cp src/resource/msw/cursor/* $BASEDIR/cursor;
cp src/resource/msw/other/* $BASEDIR;