소스 검색

dpkg-maintscript-helper: Accept multiple arguments in error and warning

This allows to split overly long strings into smaller chunks on multiple
lines.
Guillem Jover 12 년 전
부모
커밋
eb685ae9bf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      scripts/dpkg-maintscript-helper.sh

+ 2 - 2
scripts/dpkg-maintscript-helper.sh

@@ -247,12 +247,12 @@ debug() {
 }
 
 error() {
-	echo "$PROGNAME: error: $1" >&2
+	echo "$PROGNAME: error: $*" >&2
 	exit 1
 }
 
 warning() {
-	echo "$PROGNAME: warning: $1" >&2
+	echo "$PROGNAME: warning: $*" >&2
 }
 
 usage() {