diff options
author | 2008-09-07 06:42:44 +0000 | |
---|---|---|
committer | 2008-09-07 06:42:44 +0000 | |
commit | 31a492f0d9aa13cc9945765239409b45e2e78dc6 (patch) | |
tree | 2c879ad7d2933b316aec439c97b4844c0258ace1 | |
parent | rework job handling so we dont lose status information #204299 (diff) | |
download | locale-gen-31a492f0d9aa13cc9945765239409b45e2e78dc6.tar.gz locale-gen-31a492f0d9aa13cc9945765239409b45e2e78dc6.tar.bz2 locale-gen-31a492f0d9aa13cc9945765239409b45e2e78dc6.zip |
dont show error if config file doesnt exist
-rwxr-xr-x | locale-gen | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ show_usage() { } show_version() { local b="(" a=")" - local cvsver="$Revision: 1.26 $b $Date: 2008/03/23 13:17:00 $a" + local cvsver="$Revision: 1.27 $b $Date: 2008/09/07 06:42:44 $a" echo "locale-gen-${cvsver//: }" exit 0 } @@ -122,7 +122,7 @@ ALIAS=${DESTDIR}usr/share/locale/locale.alias # Grab any user options in their config file options=$(sed -n \ -e '/^[[:space:]]*#%/s:^[[:space:]]*#%[[:space:]]*::p'\ - "${CONFIG}" + "${CONFIG}" 2>/dev/null ) IFS=$'\n' for option in ${options} ; do |