OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c55850
)
install_headers: do not exit if unifdef "fails", it's ok
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 1 May 2008 12:14:25 +0000
(12:14 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 1 May 2008 12:14:25 +0000
(12:14 -0000)
extra/scripts/install_headers.sh
patch
|
blob
|
history
diff --git
a/extra/scripts/install_headers.sh
b/extra/scripts/install_headers.sh
index
1b8d9c9
..
959e03f
100755
(executable)
--- a/
extra/scripts/install_headers.sh
+++ b/
extra/scripts/install_headers.sh
@@
-42,7
+42,10
@@
while read -r filename; do
if test -d "$1/$filename"; then
mkdir -p "$2/$filename" 2>/dev/null
else
- "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL "$1/$filename" >"$2/$filename" || exit
+ # NB: unifdef exits with 1 if output is not
+ # exactly the same as input. That's ok.
+ # Do not abort the script if unifdef "fails"!
+ "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL "$1/$filename" >"$2/$filename"
fi
done
)