mirror of
https://github.com/paulusmack/ppp.git
synced 2024-12-04 08:53:43 +08:00
ignore Id lines in comparison
This commit is contained in:
parent
4d5401a1de
commit
874f1c70ee
@ -28,7 +28,7 @@ for f in net/if_ppp.h net/ppp-comp.h net/ppp_defs.h $SRC/bsd-comp.c \
|
||||
$SRC/slcompress.c $SRC/slcompress.h common/zlib.c common/zlib.h; do
|
||||
dest=$SYS/net/$(basename $f)
|
||||
if [ -f $dest ]; then
|
||||
if ! cmp -s $f $dest; then
|
||||
if ! diff -qBI '[ ]\$[IN][de].*:.*\$' $f $dest >/dev/null; then
|
||||
echo "Copying $f to $dest"
|
||||
mv -f $dest $dest.orig && echo " (old version saved in $dest.orig)"
|
||||
cp $f $dest
|
||||
|
Loading…
Reference in New Issue
Block a user