[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384824: galternatives: FTBFS: bashisms in build scripts



Package: galternatives
Version: 0.13.3
Severity: important
Justification: Policy 10.4

Hi,

There was a problem while autobuilding your package:

> Automatic build of galternatives_0.13.3 on saturne by sbuild/amd64 85
> Build started at 20060827-0239
> ******************************************************************************

[...]

> /bin/sh translations/update-translations.sh
> Generating C format header file for translation.
> Wrote ../descriptions/x-terminal-emulator.control.in.h
> cs:
> ..... done.
> es:
> ..... done.
> fr:
> ..... done.
> sv:
> ..... done.
> pt_BR:
> ..... done.
> Merging translations into galternatives.desktop.
> ./merge-translations.sh: 8: Syntax error: Bad substitution
> make: *** [pre-build] Error 2
> ******************************************************************************
> Build finished at 20060827-0239
> FAILED [dpkg-buildpackage died]

From  merge-translations.sh :
for desc in descriptions/*.in; do
    intltool-merge -d translations ${desc} ${desc/.in/}
done

The problem is that ${desc/.in/} is not POSIX, and this make the build fail if
you're not using bash as sh.

-- 
Florent

Attachment: pgpx64Oo_iQgc.pgp
Description: PGP signature


Reply to: