Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (19 sloc) 526 Bytes
#!/bin/sh
DIR=`pwd`
rm -rf /tmp/sandbox
mkdir /tmp/sandbox
cp -r hello /tmp/sandbox/
cp -r src /tmp/sandbox/
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*
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_PR1.tgz sandbox
rm $DIR/sandbox_2_0_PR1.zip
zip -rq $DIR/sandbox_2_0_PR1.zip sandbox
Something went wrong with that request. Please try again.