On Thu, Nov 29, 2012 at 12:07:04PM +0100, H?vard S?rli wrote: > > Chris made a nice perl version of prepare-company-database.sh > > Just to cler off the getop case in the prepare-company-database.sh I > made a version with a test and info text if you do not run the GNU > getopt version. > > > # Test getopt version. This script use the GNU 'getopt' version. > getopt -T > /dev/null > if [ $? -eq 0 ]; then > # Original getopt is available > echo "This script need the GNU enhanced getopt to work" > echo "Use prepare-company-database.pl on your platform" > exit 0 > fi > > > Can someone test that this fix works on BSD / OSX ? > > version with the test: > http://www.anix.no/tmp/prepare-company-database.sh
OpenBSD: freedom$ /bin/sh prepare-company-database.sh This script need the GNU enhanced getopt to work Use prepare-company-database.pl on your platform Chris Bennett ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Ledger-smb-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
