소스 검색

singularityfile: fix GRASS lib path detection

apply fix from #883 also here
Markus Neteler 4 년 전
부모
커밋
e5ba1f7af4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      singularity/debian/singularityfile_debian

+ 2 - 1
singularity/debian/singularityfile_debian

@@ -120,7 +120,8 @@ Singularity container for GRASS GIS to be run into GRASS main directory
 	make -j 2 && make install && ldconfig
     # Create generic GRASS GIS binary name regardless of version number
     ln -sf `find /usr/local/bin -name "grass??" | sort | tail -n 1` /usr/local/bin/grass
-    ln -sf `find /usr/local -type d -name "grass??" | sort | tail -n 1` /usr/local/grass
+    # Create generic GRASS GIS lib name regardless of version number
+    ln -sf `grass --config path` /usr/local/grass
     # Remove unused file
     apt-get autoremove -y
     apt-get clean -y