Ver Fonte

scripts/ipkg-build: fix error message

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter há 8 anos atrás
pai
commit
1c2162fa42
1 ficheiros alterados com 1 adições e 1 exclusões
  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