forked from Orion-Community/andromeda
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously if there was a newer version to be used, the build system would not be able to detect that. With the current system, a newer version, requires the setting of the $BUILD_VARIABLE in the scripts/get_build.sh script, and it will fetch the new version. Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
- Loading branch information
Showing
4 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ config | |
*~ | ||
bin/ | ||
src/scripts/floppy.img | ||
scripts/build | ||
scripts/build* | ||
/nbproject/ | ||
*.kate-swp | ||
*.swp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
#!/bin/bash | ||
if [ ! -f scripts/build ]; then | ||
wget http://ci.orion-os.eu/job/Build-0.2/lastSuccessfulBuild/artifact/build -O scripts/build; | ||
chmod +x scripts/build | ||
echo "Fetching build system" | ||
BUILD_VERSION=-0.2 | ||
if [ ! -f scripts/build$BUILD_VERSION ]; then | ||
wget http://ci.orion-os.eu/job/Build$BUILD_VERSION/lastSuccessfulBuild/artifact/build -O scripts/build$BUILD_VERSION; | ||
if [ -f scripts/build ]; then | ||
rm scripts/build | ||
fi | ||
ln -sv build$BUILD_VERSION scripts/build | ||
chmod +x scripts/build$BUILD_VERSION | ||
fi |