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


-- 
Håvard Sørli - http:/www.anix.no


------------------------------------------------------------------------------
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

Reply via email to