Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
87
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
cac71a78
Commit
cac71a78
authored
12 years ago
by
Federico Vaga
Committed by
Alessandro Rubini
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wrs_build-all: refuse to build in the wr-switch-sw directory
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
7f1a24a9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/wrs_build-all
+5
-1
5 additions, 1 deletion
build/wrs_build-all
with
5 additions
and
1 deletion
build/wrs_build-all
+
5
−
1
View file @
cac71a78
...
...
@@ -23,6 +23,11 @@ if [ "$WRS_OUTPUT_DIR" = "$WRS_BASE_DIR" ]; then
wrs_die
"Please run
$(
basename
$0
)
from a different directory"
fi
# Refuse to build within the wr-switch-sw directory
if
echo
$WRS_BASE_DIR
|
grep
"^
$WRS_OUTPUT_DIR
/./build
\$
"
>
/dev/null
;
then
wrs_die
"Please run
$(
basename
$0
)
from a different directory"
fi
# Check the tools
WRS_TOOLS
=
"curl svn git gcc g++ ar as m4 libtool gettext md5sum make"
WRS_TOOLS
=
"
$WRS_TOOLS
awk unzip patch bison flex ncursesw5-config"
...
...
@@ -150,4 +155,3 @@ if $failed_step; then
wrs_die
"One or more build steps failed"
fi
wrs_echo
"Complete build succeeded, apparently"
This diff is collapsed.
Click to expand it.
Preview
0%
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