浏览代码

scripts/ipkg-build: fix error message

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 8 年之前
父节点
当前提交
1c2162fa42
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/ipkg-build

+ 1 - 1
scripts/ipkg-build

@@ -106,7 +106,7 @@ You probably want to remove them: " >&2
 	[ "$?" -ne 0 ] && PKG_ERROR=1
 
 	if echo $pkg | grep '[^a-z0-9.+-]'; then
-		echo "*** Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])" >&2
+		echo "*** Error: Package name $pkg contains illegal characters, (other than [a-z0-9.+-])" >&2
 		PKG_ERROR=1;
 	fi