Skip to content

Commit

Permalink
changed param order in dist.sh, that was nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzikratzi committed Jul 30, 2015
1 parent 70df0be commit bde73d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/dist.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

version=$1
platform=$2
version=$2
platform=$1

if [[ -z "$version" || -z "$platform" ]]
then
Expand Down Expand Up @@ -41,4 +41,4 @@ echo "Generated ${dest}"
echo `du -h Oscilloscope | tail -n 1 | cut -f 1`
echo "`du -h $dest | tail -n 1 | cut -f 1` (compressed)"
echo "----------------------------"
popd
popd
4 changes: 2 additions & 2 deletions scripts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ A typical distribution workflow looks like this:
cd apps/myApps/Oscilloscope

platform=osx
version=1.01
version=1.0.3

dist/clean.sh
dist/prepare.sh $platform

# now build & test (use xcode on mac, visual studio on windows, run make release on linux)

dist/dist.sh $version $platform
dist/dist.sh $platform $version


0 comments on commit bde73d4

Please sign in to comment.