Ticket #1122 (closed defect: fixed)

Opened 1 month ago

Last modified 3 weeks ago

Problème de bashism dans une installation avec Ubuntu

Reported by: anonyme Assigned to: anonymous
Priority: normal Milestone:
Component: Package Debian Version:
Severity: crash Keywords:
Cc:

Description

À cause qu'Ubuntu utilise le shell dash au lieu de bash, pour des raisons de performance, alternc a quelques problèmes. Comme par exemple la fonction "function" n'existe pas dans dash et donc certains scripts donnent des erreurs.

Pour d'autre exemple voir: https://wiki.ubuntu.com/DashAsBinSh

Change History

04/24/08 17:35:33 changed by anarcat

  • status changed from new to closed.
  • resolution set to fixed.

(In [2169]) remove a bashism: don't use the function keyword to declare functions, it's not POSIX.

Note that there might be some other bashisms around, but this is the only one I am aware of now, so...

Closes: #1122

04/24/08 18:02:56 changed by anarcat

(In [2176]) remove bashisms in shell scripts.

See #1122