Skip to content

Instantly share code, notes, and snippets.

@rlaager
Created April 9, 2018 19:04
Show Gist options
  • Save rlaager/5b5e1b230be8f9c400bc98c38faff366 to your computer and use it in GitHub Desktop.
Save rlaager/5b5e1b230be8f9c400bc98c38faff366 to your computer and use it in GitHub Desktop.
Debian packaging .quilrc
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
# Remove all useless formatting from the patches
QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
# The same for quilt diff command, and use colored output
QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment