correct detection of current working directory in build scripts

preferencesAboutTextFull
Craig Watson 9 years ago
parent d5bb6a297c
commit b4917d7902
  1. 3
      release_scripts/linux/build.sh
  2. 2
      release_scripts/linux/package.sh
  3. 2
      release_scripts/osx/release.macx.sh

@ -20,7 +20,8 @@ initializeVariables()
STANDARD_QT_USED=false
# Root directory
PROJECT_ROOT="`pwd`/../.."
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$SCRIPT_PATH/../.."
BUILD_DIR="$PROJECT_ROOT/build/linux/release"
PRODUCT_PATH="$BUILD_DIR/product"

@ -107,7 +107,7 @@ copyQtPlugin(){
initializeVariables()
{
# This script's path
SCRIPT_PATH=`pwd`
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$SCRIPT_PATH/../.."

@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
SCRIPT_PATH="`pwd`"
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$SCRIPT_PATH/../.."

Loading…
Cancel
Save