Skip to content

Instantly share code, notes, and snippets.

@rlaager
Created February 7, 2013 06:02
Show Gist options
  • Save rlaager/4728887 to your computer and use it in GitHub Desktop.
Save rlaager/4728887 to your computer and use it in GitHub Desktop.
dir=$PWD
while [ "$dir" != "/" ] ; do
if [ -e "$dir/debian/rules" -a -d "$dir/debian/patches" ] ; then
export QUILT_PATCHES=debian/patches
break
fi
dir="`dirname "$dir"`"
done
QUILT_DIFF_ARGS="--color=auto"
QUILT_DIFF_OPTS="--show-c-function"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment