mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
ec63e3b18b
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1158 0fc631ac-6414-0410-93d0-97cfa31319b6
24 lines
472 B
Bash
Executable File
24 lines
472 B
Bash
Executable File
#! /bin/bash
|
|
|
|
BASEDIR=~/.magicseteditor/resource
|
|
|
|
rm -r $BASEDIR/resource
|
|
|
|
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;
|