mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Use "-U 1" instead of "-u1" to satisfy GNU diff 2.8.1.
This commit is contained in:
parent
efff2a4d4e
commit
b1494c9876
@ -15,8 +15,8 @@ for oldfile in $backup_files; do
|
||||
{ newfile="/dev/null"; newlabel="/dev/null"; }
|
||||
case $newfile in
|
||||
*.c) dflags="-u -p" ;;
|
||||
*.po) dflags='-u1 -I^#[:,.~]';;
|
||||
*ChangeLog*) dflags="-u1" ;;
|
||||
*.po) dflags='-U 1 -I^#[:,.~]';;
|
||||
*ChangeLog*) dflags="-U 1" ;;
|
||||
*) dflags="-u" ;;
|
||||
esac
|
||||
diff $dflags -L "$oldlabel" -L "$newlabel" "$oldfile" "$newfile"
|
||||
|
Loading…
Reference in New Issue
Block a user