1
0

Source code upload

This commit is contained in:
calmsacibis995
2022-09-29 17:59:04 +03:00
parent 72fa9da3d7
commit 8fc8fa8089
33399 changed files with 11964078 additions and 0 deletions

25
eoe/cmd/sendmail/patch-tree Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/sh
SM_DEST=$1
shift
if ! test -d $SM_DEST; then
echo "SM_DEST $SM_DEST does not exist";
fi
if ! test -d $SM_DEST/patches; then
mkdir $SM_DEST/patches
fi
./symlink-tree preserve $SM_DEST
for SM_SRC in $*; do
patchname=`echo $SM_SRC | sed 's/.*\.//`
echo "Generating new \"$patchname\" patch for $SM_DEST tree"
./clobber-tree $SM_SRC
diff -c -N -r -xpatches -x.symlinks $SM_DEST $SM_SRC | \
grep -v "Only in $SM_DEST: patches" > $SM_DEST/patches/patch.$patchname
done
./symlink-tree restore $SM_DEST