Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Adélie Linux
abuild
Commits
ecc1f509
Commit
ecc1f509
authored
Apr 04, 2017
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: set -e fix for update_config_{sub,guess}
parent
1ddc910e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
abuild.in
abuild.in
+4
-12
No files found.
abuild.in
View file @
ecc1f509
...
...
@@ -532,8 +532,7 @@ mkusers() {
#
helper
to
update
config
.
sub
to
a
recent
version
update_config_sub
()
{
local
changed
=
false
find
.
-
name
config
.
sub
|
while
read
f
;
do
find
.
-
name
config
.
sub
|
(
local
changed
=
false
;
while
read
f
;
do
if
! ./$f armv6-alpine-linux-muslgnueabihf 2>/dev/null; then
msg
"Updating $f"
cp
"$datadir"
/${
f
##*/}
"$f"
||
return
1
...
...
@@ -541,16 +540,12 @@ update_config_sub() {
else
msg
"No update needed for $f"
fi
#
pipe
subshell
will
return
status
of
last
command
$
changed
done
return
$?
done
;
$
changed
)
}
#
helper
to
update
config
.
guess
to
a
recent
version
update_config_guess
()
{
local
changed
=
false
find
.
-
name
config
.
guess
|
while
read
f
;
do
find
.
-
name
config
.
guess
|
(
local
changed
=
false
;
while
read
f
;
do
if
grep
-
q
aarch64
"$f"
&&
grep
-
q
ppc64le
"$f"
;
then
msg
"No update needed for $f"
else
...
...
@@ -558,10 +553,7 @@ update_config_guess() {
cp
"$datadir"
/${
f
##*/}
"$f"
||
return
1
changed
=
true
fi
#
pipe
subshell
will
return
status
of
last
command
$
changed
done
return
$?
done
;
$
changed
)
}
runpart
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment