Skip to content

Commit

Permalink
Fix env var name.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavpandeyvpz committed Apr 24, 2019
1 parent 0997447 commit 8134cc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions build/linux.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash

DIR_BUILD=$TRAVIS_BUILD_DIR-build
mkdir $DIR_BUILD
mkdir $TRAVIS_BUILD_DIR-build

cd $DIR_BUILD
cd $TRAVIS_BUILD_DIR-build
qmake CONFIG+=release PREFIX=/usr $TRAVIS_BUILD_DIR
make
make install INSTALL_ROOT=AppDir
Expand Down
5 changes: 2 additions & 3 deletions build/osx.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash

DIR_BUILD=$TRAVIS_BUILD_DIR-build
mkdir $DIR_BUILD
mkdir $TRAVIS_BUILD_DIR-build

cd $DIR_BUILD
cd $TRAVIS_BUILD_DIR-build
qmake CONFIG+=release $TRAVIS_BUILD_DIR
make

Expand Down
3 changes: 1 addition & 2 deletions build/windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ mkdir "%APPVEYOR_BUILD_FOLDER%-build"
qmake CONFIG+=release -o "%APPVEYOR_BUILD_FOLDER%-build" "%APPVEYOR_BUILD_FOLDER%"
cd /d "%APPVEYOR_BUILD_FOLDER%-build"
nmake
cd /d "%APPVEYOR_BUILD_FOLDER%"

set "DEPLOYMENT_DIR=%TEMP%\ApkStudio-%RANDOM%.tmp"
mkdir %DEPLOYMENT_DIR%
Expand All @@ -15,5 +14,5 @@ windeployqt "%DEPLOYMENT_DIR%\ApkStudio.exe" --release
mkdir %APPVEYOR_BUILD_FOLDER%\deploy

set SETUP_FILE_PREFIX=ApkStudio-
if not %APPVEYOR_REPO_TAG_NAME% == "" set SETUP_FILE_PREFIX=%SETUP_FILE_NAME%-%APPVEYOR_REPO_TAG_NAME%
if not %APPVEYOR_REPO_TAG_NAME% == "" set SETUP_FILE_PREFIX=%SETUP_FILE_PREFIX%-%APPVEYOR_REPO_TAG_NAME%
iscc /O"%APPVEYOR_BUILD_FOLDER%\deploy" /F"%SETUP_FILE_PREFIX%-%VCARCH%" "%APPVEYOR_BUILD_FOLDER%\resources\apkstudio.iss"

0 comments on commit 8134cc1

Please sign in to comment.