From 508bebadced9327ba12e5149e8490d1b39b8f1aa Mon Sep 17 00:00:00 2001 From: Luotao Fu Date: Mon, 7 May 2007 08:57:54 +0000 Subject: fixed test parameter after generating locale git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7162 33e552b5-05e3-0310-8538-816dae2090ed --- scripts/make_locale.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/make_locale.sh') diff --git a/scripts/make_locale.sh b/scripts/make_locale.sh index e523b11f8..8664facee 100755 --- a/scripts/make_locale.sh +++ b/scripts/make_locale.sh @@ -58,7 +58,7 @@ add_locale() { [ $? -ne 0 ] && { echo "calling localedef binary failed"; exit 1; } - [ ! -n ${PREF}/usr/lib/locale/locale-archive ] && { echo "locale archive generation failed"; exit 1; } + [ ! -e ${PREF}/usr/lib/locale/locale-archive ] && { echo "locale archive generation failed"; exit 1; } } add_locale "${@}" -- cgit v1.2.3