summaryrefslogtreecommitdiffstats
path: root/openwrt/scripts/rstrip.sh
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-21 08:32:28 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-21 08:32:28 +0000
commitb9121d70c9415db849f0386558e0a485f4267e3f (patch)
tree6c705177728c3e5d49870cc11a5c941a5f8503f1 /openwrt/scripts/rstrip.sh
parent0ed43a46e3d42a841f0dc33f465852327af3ad6b (diff)
try to add with correct permissions later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@697 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/scripts/rstrip.sh')
-rwxr-xr-xopenwrt/scripts/rstrip.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/openwrt/scripts/rstrip.sh b/openwrt/scripts/rstrip.sh
deleted file mode 100755
index d9d3ad21b..000000000
--- a/openwrt/scripts/rstrip.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-SELF=${0##*/}
-
-[ -z "$STRIP" ] && {
- echo "$SELF: strip command not defined (STRIP variable not set)"
- exit 1
-}
-
-TARGETS=$*
-
-[ -z "$TARGETS" ] && {
- echo "$SELF: no directories / files specified"
- echo "usage: $SELF [PATH...]"
- exit 1
-}
-
-find $TARGETS -type f -a -exec file {} \; | \
- sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*, not stripped/\1:\2/p' | \
-(
- IFS=":"
- while read F S; do
- echo "$SELF: $F:$S"
- eval "$STRIP $F"
- done
-)