Package: autoproject Version: 0.17-1 Followup-For: Bug #154867 The reason for the failure is the non-zero exit code of expr. From the man page of expr
<quote> expr exits with: 0 if the expression is neither null nor 0; 1 if the expression is null or 0; or 2 for invalid expressions. </quote> Patch is attached. Regards, Joachim -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (300, 'testing'), (200, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.12-jr91-enterprise-e Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages autoproject depends on: ii automake1.9 [automaken] 1.9.5-1 A tool for generating GNU Standard -- no debconf information
--- autoproject.orig 2005-10-09 17:09:16.000000000 +0200 +++ autoproject 2005-10-09 17:08:27.000000000 +0200 @@ -281,8 +281,8 @@ fi if echo $AUTHOR | grep -q -- "\,"; then X=`expr index "$AUTHOR" ","` - X=`expr $X - 1` - AUTHOR=`expr substr "$AUTHOR" 1 $X` + X=`expr $X - 1` || true + AUTHOR=`expr substr "$AUTHOR" 1 $X` || true fi type_string "What is the name of the author?" "$AUTHOR" "" AUTHOR="$ans"