#!/bin/bash currentDir=$(cd $(dirname $0); pwd) source $currentDir/session.txt appid=$1 username=$2 password=$3 teamdId=$4 udid=$5 csrPath=$6 provPath=$7 certfPath=$8 /usr/bin/ruby $currentDir/generate_provision.rb $appid $username $password $teamdId $udid $csrPath $provPath $certfPath 2>&1