summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier>2011-09-15 17:46:23 +0000
committervapier <vapier>2011-09-15 17:46:23 +0000
commit73d77e7117bf8d73bf34f7e96bff70b1a05a1354 (patch)
treefb3d7fd940db9cd7c626833df3be6321726eb7e5
parentuse simpler default variable initialization (diff)
downloadlocale-gen-73d77e7117bf8d73bf34f7e96bff70b1a05a1354.tar.gz
locale-gen-73d77e7117bf8d73bf34f7e96bff70b1a05a1354.tar.bz2
locale-gen-73d77e7117bf8d73bf34f7e96bff70b1a05a1354.zip
make sure we pass along --no-archive when people request no-locale-archive in the config file
-rwxr-xr-xlocale-gen4
1 files changed, 3 insertions, 1 deletions
diff --git a/locale-gen b/locale-gen
index 97f9c36..5bad2c4 100755
--- a/locale-gen
+++ b/locale-gen
@@ -45,7 +45,7 @@ show_usage() {
}
show_version() {
local b="(" a=")"
- local cvsver="$Revision: 1.29 $b $Date: 2011/09/15 17:31:00 $a"
+ local cvsver="$Revision: 1.30 $b $Date: 2011/09/15 17:46:23 $a"
echo "locale-gen-${cvsver//: }"
exit 0
}
@@ -142,6 +142,8 @@ if ${LOCALE_ARCHIVE} ; then
ewarn "Generating locale-archive: forcing # of jobs to 1"
JOBS_MAX=1
fi
+else
+ LOCALEDEF_OPTS="--no-archive ${LOCALEDEF_OPTS}"
fi
[[ -n ${ALL} ]] && CONFIG=${SUPPORTED}