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

curly brackets a bashism?



Hi,

one of my sponsees' packages (gv) doesn't build, as it uses a command of
the form

cp debian/{preinst,postinst,prerm,postrm} ...

This works fine with sh -> bash, but doesn't for sh -> ash.

Which one is correct?

 - {} is a bashism. lintian should detect this, and my sponsee should fix
   his package.

or

 - {} is POSIX. ash should be fixed.

   Simon

-- 
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: DC26 EB8D 1F35 4F44 2934  7583 DBB6 F98D 9198 3292
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!



Reply to: