Skip to content

Commit

Permalink
Fixed typo affecting linux bash.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakercp committed Jun 16, 2014
1 parent d6755ff commit 5151483
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OS=`./helpers/ostype.sh`
# the current semantic version number, strip the "v"
OF_SKETCH_VERSION=`git describe --abbrev=0 --tags | sed 's/v//g'`

cd ../ofSketchApp/bin/data/
cd ../ofSketchApp/bin/data

if [ -e "openFrameworks/CHANGELOG.md" ]
then
Expand Down Expand Up @@ -63,7 +63,7 @@ cd $OF_SKETCH_RELEASE/data
echo `pwd`

echo "Copy app data ..."
cp -r ../../../ofSketchApp/bin/data/ .
cp -r ../../../ofSketchApp/bin/data/* .

cd ..

Expand All @@ -79,12 +79,14 @@ echo `pwd`
echo "Cleaning distro..."

cd data/Projects

echo `pwd`

rm -rf $(find . -name *.app)
rm -rf $(find . -name obj)

cd ../..

echo `pwd`

rm -rf $(find . -name .git*)
Expand All @@ -96,6 +98,8 @@ echo "Copy app ..."

echo `pwd`

ls -la ../../ofSketchApp/bin

if [[ $OS == linux* ]]
then
cp ../../ofSketchApp/bin/ofSketchApp ofSketch
Expand Down

0 comments on commit 5151483

Please sign in to comment.