ardour/libs/rubberband/repopulate
Paul Davis 1ff9e8afc0 merge 3578:4901 of thirdparty/rubberband/current
git-svn-id: svn://localhost/ardour2/branches/3.0@4982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 00:53:20 +00:00

28 lines
561 B
Bash
Executable File

#!/bin/sh
#
# this script copies the relevant files from $1 into this
# working copy of the repository, adds new files and
# prints a list of mods for SConscript
#
from=$1
#strip=`dirname $1`
strip=$1
echo "Looking for copies in $from ... will strip $strip"
for file in `find $from \( -name \*.cpp -o -name \*.h -o -name \*.c \)`
do
src=$file
copy=`echo $file | sed "s?$strip/??"`
echo "Look for $copy"
if [ -f $copy ] ; then
cp $src $copy
echo "copy $copy"
else
echo "ADD $copy"
cp $src $copy
svn add $copy
fi
done