Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
arts++
> create-patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File create-patch of Package arts++
#!/bin/bash if [ -z "$1" ] ; then SOURCEDIR=arts++-1.1.a13 else SOURCEDIR=$1 fi ORIGFILES=`find ${SOURCEDIR} -name \*.orig` for ORIG in ${ORIGFILES} ; do PATCHTARGET=`basename ${ORIG} .orig` PATCHPATH=`echo ${ORIG} | awk -F${PATCHTARGET} '{print $1}'` diff -uNr ${ORIG} ${PATCHPATH}${PATCHTARGET} done