Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
cd61ce72
Commit
cd61ce72
authored
14 years ago
by
Merov Linden
Browse files
Options
Downloads
Plain Diff
Sync with bitbucket master repo
parents
6ee772bd
fea0cefc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+26
-14
26 additions, 14 deletions
build.sh
with
26 additions
and
14 deletions
build.sh
+
26
−
14
View file @
cd61ce72
...
@@ -119,27 +119,39 @@ fi
...
@@ -119,27 +119,39 @@ fi
# First three parts only, $revision will be appended automatically.
# First three parts only, $revision will be appended automatically.
build_viewer_update_version_manager_version
=
`
python scripts/get_version.py
--viewer-version
|
sed
's/\.[0-9]*$//'
`
build_viewer_update_version_manager_version
=
`
python scripts/get_version.py
--viewer-version
|
sed
's/\.[0-9]*$//'
`
export
autobuild_dir
=
"
$here
/../../../autobuild/bin/"
if
[
-z
"
$AUTOBUILD
"
]
if
[
-d
"
$autobuild_dir
"
]
then
then
export
AUTOBUILD
=
"
$
autobuild_dir
"
autobuild
export
autobuild_dir
=
"
$here
/../../../
autobuild
/bin/"
if
[
-
x
"
$
AUTOBUILD
"
]
if
[
-
d
"
$
autobuild_dir
"
]
then
then
# *HACK - bash doesn't know how to pass real pathnames to native windows python
export
AUTOBUILD
=
"
$autobuild_dir
"
autobuild
case
"
$arch
"
in
if
[
-x
"
$AUTOBUILD
"
]
CYGWIN
)
AUTOBUILD
=
$(
cygpath
-u
$AUTOBUILD
.cmd
)
;;
then
esac
# *HACK - bash doesn't know how to pass real pathnames to native windows python
case
"
$arch
"
in
CYGWIN
)
AUTOBUILD
=
$(
cygpath
-u
$AUTOBUILD
.cmd
)
;;
esac
else
record_failure
"Not executable:
$AUTOBUILD
"
exit
1
fi
else
else
record_failure
"Not
executable:
$AUTOBUILD
"
record_failure
"Not
found:
$autobuild_dir
"
exit
1
exit
1
fi
fi
else
record_failure
"Not found:
$autobuild_dir
"
exit
1
fi
fi
# load autbuild provided shell functions and variables
# load autbuild provided shell functions and variables
eval
"
$(
"
$AUTOBUILD
"
source_environment
)
"
if
"
$AUTOBUILD
"
source_environment
>
source_environment
then
.
source_environment
else
# dump environment variables for debugging
env
|sort
record_failure
"autobuild source_environment failed"
cat
source_environment
>
&3
exit
1
fi
# dump environment variables for debugging
# dump environment variables for debugging
env
|sort
env
|sort
...
@@ -166,7 +178,7 @@ do
...
@@ -166,7 +178,7 @@ do
rm
-rf
"
$build_dir
"
rm
-rf
"
$build_dir
"
mkdir
-p
"
$build_dir
"
mkdir
-p
"
$build_dir
"
mkdir
-p
"
$build_dir
/tmp"
mkdir
-p
"
$build_dir
/tmp"
export
TMP
=
"
$build_dir
/tmp"
#
export TMP="$build_dir/tmp"
if
pre_build
"
$variant
"
"
$build_dir
"
>>
"
$build_log
"
2>&1
if
pre_build
"
$variant
"
"
$build_dir
"
>>
"
$build_log
"
2>&1
then
then
if
$build_link_parallel
if
$build_link_parallel
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment