mirror of
https://github.com/oDinZu/callirhoe.git
synced 2025-02-23 00:02:16 -05:00
Fixed mktemp templates
git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@202 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
parent
f8af3a09a9
commit
c3dc09db4e
6
make_pkg
6
make_pkg
@ -16,7 +16,9 @@ make_archive() {
|
|||||||
|
|
||||||
|
|
||||||
# Create Callirhoe package
|
# Create Callirhoe package
|
||||||
DIR=`mktemp -d -t callirhoe`
|
echo "here"
|
||||||
|
DIR=`mktemp -d -t callirhoe.XXX`
|
||||||
|
echo "there"
|
||||||
# TODO: do we need .pyc files? (my guess is yes, how do we force creation?)
|
# TODO: do we need .pyc files? (my guess is yes, how do we force creation?)
|
||||||
cp -R geom lang layouts lib style "$DIR"
|
cp -R geom lang layouts lib style "$DIR"
|
||||||
cp callirhoe.py "$DIR/__main__.py"
|
cp callirhoe.py "$DIR/__main__.py"
|
||||||
@ -25,7 +27,7 @@ cp callirhoe.py "$DIR/__main__.py"
|
|||||||
make_archive callirhoe "$DIR"
|
make_archive callirhoe "$DIR"
|
||||||
|
|
||||||
# Create Calmagick package
|
# Create Calmagick package
|
||||||
DIR=`mktemp -d -t callirhoe`
|
DIR=`mktemp -d -t callirhoe.XXX`
|
||||||
mkdir "$DIR/lib"
|
mkdir "$DIR/lib"
|
||||||
cp lib/__init__.py lib/geom.py "$DIR/lib"
|
cp lib/__init__.py lib/geom.py "$DIR/lib"
|
||||||
cp calmagick.py "$DIR/__main__.py"
|
cp calmagick.py "$DIR/__main__.py"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user