[Debian-l10n-commits] r1196 - /ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Wed Aug 13 02:40:23 UTC 2008
Author: nekral-guest
Date: Wed Aug 13 02:40:23 2008
New Revision: 1196
URL: http://svn.debian.org/wsvn/?sc=1&rev=1196
Log:
Do not set PACKAGES_LISTS_DIR by default before processing the options.
Modified:
ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh
Modified: ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh
URL: http://svn.debian.org/wsvn/ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh?rev=1196&op=diff
==============================================================================
--- ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh (original)
+++ ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh Wed Aug 13 02:40:23 2008
@@ -26,7 +26,7 @@
dists_parent_dir=""
# If no argument indicates the PACKAGES_LISTS_DIR then use '.'
-PACKAGES_LISTS_DIR="."
+PACKAGES_LISTS_DIR=""
usage () {
echo "Usage: $0 [options] <dists_parent_dir> [<packages_lists_directory>]" >&2
@@ -67,6 +67,7 @@
;;
esac
done
+PACKAGES_LISTS_DIR=${opt:-.}
if [ ! -d "$dists_parent_dir" ]; then
echo "missing dists_parent_dir, or not a directory" >&2
More information about the Debian-l10n-commits
mailing list