Skip to content

Commit

Permalink
updated create_sandbox script
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 11, 2010
1 parent 1aeddf2 commit bc286c2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions create_sandbox.sh
@@ -1,6 +1,7 @@
#!/bin/sh

DIR=`pwd`
VERSION=2_0_PR3
rm -rf /tmp/sandbox
mkdir /tmp/sandbox
cp -r hello /tmp/sandbox/
Expand All @@ -9,12 +10,12 @@ cp -r web /tmp/sandbox/
cp -r README /tmp/sandbox/
cp -r LICENSE /tmp/sandbox/
cd /tmp/sandbox
sudo rm -rf create_sandbox.sh hello/cache/* hello/logs/* .git*
sudo rm -rf hello/cache/* hello/logs/* .git*
chmod 777 hello/cache hello/logs
cd ..
# avoid the creation of ._* files
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
tar zcpf $DIR/sandbox_2_0_PR3.tgz sandbox
sudo rm -f $DIR/sandbox_2_0_PR3.zip
zip -rq $DIR/sandbox_2_0_PR3.zip sandbox
tar zcpf $DIR/sandbox_$VERSION.tgz sandbox
sudo rm -f $DIR/sandbox_$VERSION.zip
zip -rq $DIR/sandbox_$VERSION.zip sandbox

0 comments on commit bc286c2

Please sign in to comment.