scripts: sercomm-pid.py: use uppercase hwid in pid
[openwrt/staging/stintel.git] / scripts / rstrip.sh
index 59f8624df209baaa286d54d50fcd0d39848d8b48..e47960a941ae203810fc26f003d44d6df1b075ce 100755 (executable)
@@ -27,6 +27,7 @@ find $TARGETS -type f -a -exec file {} \; | \
   while read F S; do
     echo "$SELF: $F: $S"
        [ "${S}" = "relocatable" ] && {
+               [ "${F##*.}" == "o" ] && continue
                eval "$STRIP_KMOD $F"
        } || {
                b=$(stat -c '%a' $F)