Browse Source

Fixed ./lib/sde-package/patch-copyright.sh to send all errors to stderr, to not send garbage to patch -p0

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
4c3be4e2c1
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lib/sde-package/patch-copyright.sh

+ 3
- 3
lib/sde-package/patch-copyright.sh

@ -124,7 +124,7 @@ while read filename ; do
mode=sh mode=sh
tag="# " tag="# "
else else
echo "Unknown type of $filename"
echo "Unknown type of $filename" >&2
continue continue
fi fi
;; ;;
@ -139,12 +139,12 @@ while read filename ; do
c) pretag='/*' posttag=' */' c) pretag='/*' posttag=' */'
tag=' * ' tag=' * '
;; ;;
*) echo "Unknown mode '$mode' of $filename"
*) echo "Unknown mode '$mode' of $filename" >&2
continue continue
;; ;;
esac esac
else else
echo "Unknown tag '$tag' on $filename"
echo "Unknown tag '$tag' on $filename" >&2
continue continue
fi fi

Loading…
Cancel
Save