From bc26e20657a3bb795147bd0e11768b97228d162f Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Fri, 12 Jan 2007 18:18:29 +0000 Subject: helper script to search for doubled externals svn path=/trunk/; revision=7310 --- externals/build/src/search-doubled-externals.sh | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 externals/build/src/search-doubled-externals.sh (limited to 'externals/build') diff --git a/externals/build/src/search-doubled-externals.sh b/externals/build/src/search-doubled-externals.sh new file mode 100755 index 00000000..f0b6f361 --- /dev/null +++ b/externals/build/src/search-doubled-externals.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# run this script to see doubled externals in the +# libdir and flatspace format +# +# these files can be removed from the flatspace +# +# (Georg Holzmann) + +# all files +FILES=`ls *.c | sed s/"\.c"/"\.p\*"/g` + +# search dir +# (should point to the directory where you build pd-extended) +SEARCH_PATH=../lib/pd/extra + +for FILE in $FILES +do + + # this will also display the path (for debugging): + #find $SEARCH_PATH -name $FILE + + # this will display the files, which can be deleted: + find $SEARCH_PATH -name $FILE | sed -e s/"\.\."/""/g -e s/"\/.*\/"/""/g -e s/"\.pd_linux"/"\.c"/g + +done + -- cgit v1.2.1