fix typo in cambria gw2358 initialization
[openwrt.git] / scripts / rstrip.sh
index 6dd44f2..5efc866 100755 (executable)
@@ -45,7 +45,7 @@ find $TARGETS -type f -a -exec file {} \; | \
   IFS=":"
   while read F S; do
     echo "$SELF: $F:$S"
-       [ "${F##*\.}" = "o" -o "${F##*\.}" = "ko" ] && {
+       [ "${S}" = "relocatable" ] && {
                eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F"
        } || {
                eval "$STRIP $F"
This page took 0.021029 seconds and 4 git commands to generate.