Move presource patches out of work/

I forgot we had a clean command in the paper util
This commit is contained in:
Zach Brown
2019-06-16 14:34:36 -05:00
parent 5aac62018f
commit 534b2c8747
2 changed files with 1 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ fi
# apply patches directly to the file tree
# used to fix issues from upstream source repos
cd $basedir
prepatchesdir="$workdir/pre-source-patches"
prepatchesdir="$basedir/scripts/pre-source-patches"
for file in $(ls $prepatchesdir)
do
if [ $file == "README.md" ]; then

View File

@@ -0,0 +1,16 @@
Files in this directory are applied directly to the tree before any other
patches.
These patches are always applied directly from the root of the repository.
"$basedir"
This allows us to fix malformed patch files and other changes from upstream.
This is not intended to replace any other system and should not be used in
place of the existing specific patch directories.
Documentation is intentionally sparse to avoid being misused.
`diff -ruN originalfile changedfile`
See the man pages on diff and patch.