projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
[openwrt.git]
/
scripts
/
rstrip.sh
diff --git
a/scripts/rstrip.sh
b/scripts/rstrip.sh
index
5efc866
..
e42caa5
100755
(executable)
--- a/
scripts/rstrip.sh
+++ b/
scripts/rstrip.sh
@@
-48,7
+48,10
@@
find $TARGETS -type f -a -exec file {} \; | \
[ "${S}" = "relocatable" ] && {
eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F"
} || {
[ "${S}" = "relocatable" ] && {
eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F"
} || {
+ b=$(stat -c '%a' $F)
eval "$STRIP $F"
eval "$STRIP $F"
+ a=$(stat -c '%a' $F)
+ [ "$a" = "$b" ] || chmod $b $F
}
done
true
}
done
true
This page took
0.019674 seconds
and
4
git commands to generate.