From 213a285c87a85acd57f43aeb5966bb7d7c31d3d9 Mon Sep 17 00:00:00 2001 From: Sylvain Le Gall Date: Sat, 10 Nov 2007 16:30:52 +0000 Subject: [PATCH] * Remove bashism from ocamldoc-api-ref-config (dash compatible) --- debian/cdbs/ocamldoc-api-ref-config | 9 ++++----- debian/changelog | 5 +++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/debian/cdbs/ocamldoc-api-ref-config b/debian/cdbs/ocamldoc-api-ref-config index bce02f15..06ca7c3d 100755 --- a/debian/cdbs/ocamldoc-api-ref-config +++ b/debian/cdbs/ocamldoc-api-ref-config @@ -73,7 +73,7 @@ EOF } ACTION=true -PACKAGE_IDX=1 +PACKAGES= while test $# -gt 0; do case "$1" in @@ -91,14 +91,13 @@ while test $# -gt 0; do error_usage "Unknown option $1" ;; *) - PACKAGE[$PACKAGE_IDX]=$1 - PACKAGE_IDX=$(($PACKAGE_IDX + 1)) + PACKAGES="$PACKAGES $1" ;; esac shift done -for i in `seq $(($PACKAGE_IDX - 1))`; do - $ACTION ${PACKAGE[$i]} +for i in $PACKAGES; do + $ACTION $i done diff --git a/debian/changelog b/debian/changelog index d748c086..18bab062 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,10 +11,11 @@ ocaml (3.10.0-9) UNRELEASED; urgency=low [ Sylvain Le Gall ] * fixes in cdbs class for ocamldoc generation, provides - ocamldoc-api-ref-config to centralize generation of .ocamldoc-apiref + ocamldoc-api-ref-config to centralize generation of .ocamldoc-apiref * remove ia64, arm and alpha native arches (no more ocamlopt for this arches) + * Array is bashism, remove it from ocamldoc-api-ref-config - -- Sylvain Le Gall Wed, 17 Oct 2007 22:29:46 +0200 + -- Sylvain Le Gall Sat, 10 Nov 2007 17:28:48 +0100 ocaml (3.10.0-8) unstable; urgency=low -- 2.30.2