diff --git a/infrastructure/build/update-patches b/infrastructure/build/update-patches index 8942d9cddf7..b1c31dd34dc 100644 --- a/infrastructure/build/update-patches +++ b/infrastructure/build/update-patches @@ -1,6 +1,6 @@ #!/bin/sh -# $OpenBSD: update-patches,v 1.2 2000/06/07 00:47:47 espie Exp $ +# $OpenBSD: update-patches,v 1.3 2000/06/09 17:08:37 espie Exp $ # Copyright (c) 2000 # Marc Espie. All rights reserved. # Redistribution and use in source and binary forms, with or without @@ -31,6 +31,7 @@ while read file do echo 1>&2 "Processing $file" # look in patchdir for an existing patchfile matching this + mkdir -p $PATCHDIR cd $PATCHDIR for i in ${PATCH_LIST} do @@ -64,7 +65,7 @@ do # Build a sensible name for the patch file patchname=patch-`echo $file|sed -e s,[/.],_,g` echo 1>&2 "No patch-* found for $file, creating $patchname" - { echo '$OpenBSD: update-patches,v 1.2 2000/06/07 00:47:47 espie Exp $'; (cd $WRKDIST && diff ${DIFF_ARGS} -u -p $file.orig $file) } >$patchname + { echo '$OpenBSD: update-patches,v 1.3 2000/06/09 17:08:37 espie Exp $'; (cd $WRKDIST && diff ${DIFF_ARGS} -u -p $file.orig $file) } >$patchname edit="$edit $patchname" accounted="$accounted $patchname" done @@ -87,7 +88,7 @@ do esac done -# Check for $Id: update-patches,v 1.2 2000/06/07 00:47:47 espie Exp $ and similar bugs in all those patch files. +# Check for $Id: update-patches,v 1.3 2000/06/09 17:08:37 espie Exp $ and similar bugs in all those patch files. for i in $accounted do if sed -e '/1,^---/ d' $i|grep '$(Id|OpenBSD'