#2024: r.li.setup generates incomplete r.li conf file ------------------------+--------------------------------------------------- Reporter: matmar | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 6.4.4 Component: Raster | Version: svn-releasebranch64 Keywords: r.li.setup | Platform: Linux Cpu: x86-64 | ------------------------+---------------------------------------------------
Comment(by rashadkm): Hi Matteo, This seems to be a '''problem with the dash vs bash'''. Some linux distro (Debian, Ubuntu etc..) uses dash as the default shell for some reasons[1]. This means /bin/sh is symlinked to /bin/dash instead of bash shell. The two are different in some aspects like loops, comparison ops etc. Most of the bash shell runs ok with dash but some others won't. changing the default shell by changing #!/bin/sh to !/bin/bash fixes the problem. [1] https://wiki.ubuntu.com/DashAsBinSh -- Ticket URL: <https://trac.osgeo.org/grass/ticket/2024#comment:5> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev