FIXUPHACK 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. #ubuntu is the problem, these symlinks are missing...
  2. if [ ! -e usr/bin/aclocal ];then
  3. REALFILE="`ls -1 usr/bin/aclocal* | head -n 1 | rev | cut -f 1 -d '/' | rev`"
  4. ln -s $REALFILE usr/bin/aclocal
  5. fi
  6. if [ ! -e usr/bin/automake ];then
  7. REALFILE="`ls -1 usr/bin/automake* | head -n 1 | rev | cut -f 1 -d '/' | rev`"
  8. ln -s $REALFILE usr/bin/automake
  9. fi
  10. #if [ ! -e usr/share/aclocal ];then
  11. # REALDIR="`find usr/share/ -maxdepth 1 -type d -name aclocal* | head -n 1 | rev | cut -f 1 -d '/' | rev`"
  12. # ln -s $REALDIR usr/share/aclocal
  13. #fi
  14. if [ ! -e usr/share/automake ];then
  15. REALDIR="`find usr/share/ -maxdepth 1 -type d -name automake* | head -n 1 | rev | cut -f 1 -d '/' | rev`"
  16. ln -s $REALDIR usr/share/automake
  17. fi
  18. ##110402: dpup: iguleder reported these are in /usr/share/misc, so need symlinks...
  19. #if [ ! -e usr/share/automake/config.guess ];then
  20. # [ -e usr/share/misc/config.guess ] && ln -s ../misc/config.guess usr/share/automake/config.guess
  21. #fi
  22. #if [ ! -e usr/share/automake/config.sub ];then
  23. # [ -e usr/share/misc/config.sub ] && ln -s ../misc/config.sub usr/share/automake/config.sub
  24. #fi