mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
692d5b6286
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
24 lines
464 B
Bash
Executable File
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;
|