Browse Source

Alejandro Mery:


			
			
				rocklinux
			
			
		
Alejandro Mery 20 years ago
parent
commit
c0ae66c9d9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      misc/archive/compare.sh

+ 3
- 3
misc/archive/compare.sh

@ -90,7 +90,7 @@ function diff_package() {
diff_package $x $target/${x##*/}
elif [[ "$x" = *.cache ]]; then
continue
else
elif [ -f "$x" ]; then
remove_header $x > $$.source
if [ -f $target/${x##*/} ]; then
remove_header $target/${x##*/} > $$.target
@ -114,8 +114,8 @@ function diff_package() {
[ ! -d $source/${x#$target/} ] && diff_package $source/${x#$target/} $x
elif [[ "$x" = *.cache ]]; then
continue
else
if [ ! -f $source/${x#$target/} ]; then
elif [ -f "$x" ]; then
if [ ! -f "$source/${x#$target/}" ]; then
remove_header $x > $$.target
show_nice_diff /dev/null $$.target $source/${x#$target/}
rm $$.target

Loading…
Cancel
Save