Explorar o código

scripts/ipkg-build: fix error message

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter %!s(int64=8) %!d(string=hai) anos
pai
achega
1c2162fa42
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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