script for ugly patching
Roland Schäfer
RolandSchaefer at gmx.net
Wed Dec 8 09:49:11 GMT 1999
I hate typing diff... everytime i want the latest patch, so i
wrote a shell-script:
patcher is the main script
patcher.exclude contains the exclude files
Roland
-------------- next part --------------
if [ -z $2 ]; then
echo "Usage: patcher <origdir> <yourdir>";
exit 1;
fi
exclude_file=/home/roland/bin/patcher.exclude
if [ ! -e $( echo $exclude_file ) ] ; then
echo "Exclude-File: $exclude_file not found";
exit 1;
fi
diff -Naur -X $exclude_file $1 $2
-------------- next part --------------
*.o
*.moc*
*.lo
*.la
*.a
*.gmo
.deps
.libs
Makefile
Makefile.in
examples
stamp-h*
processes.pl
config.cache
config.h
config.log
config.status
configure
aclocal.m4
libtool
core
tokenizer.*
More information about the KDevelop
mailing list