[389-devel] portability issue: scripts expecting /bin/sh to be bash

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

 



	Hi

  I noticed that some shell scripts have bashisms in them, on Debian and
it's derivatives /bin/sh is dash. A quick list of scripts shipped by
389-ds-base having this issue:

monitor
ldif2db
ldif2ldap
db2bak
vlvindex
dn2rdn
restoreconfig
saveconfig
upgradedb
suffix2instance
dbverify

but since I just ran all the scripts without any options, there might be
others too that fail with "unexpected operator" errors etc when ran in a
real environment. So maybe change all of them to use /bin/bash or
migrate them to be posix compatible (and somehow test new ones for
compliance)?


-- 
t
--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux