Forráskód Böngészése

remove now unneeded Python 3 shebang trick (#90)

Markus Neteler 5 éve
szülő
commit
c19be96cf3
2 módosított fájl, 0 hozzáadás és 10 törlés
  1. 0 5
      docker/Dockerfile_alpine
  2. 0 5
      docker/Dockerfile_alpine_wxgui

+ 0 - 5
docker/Dockerfile_alpine

@@ -172,11 +172,6 @@ RUN echo "Install main packages";\
     tar xfz grass-$GRASS_VERSION.git_src_snapshot_latest.tar.gz --strip=1 -C /src/grass_build && \
     rm -f grass-$GRASS_VERSION.git_src_snapshot_latest.tar.gz; \
     #
-    # Fixup python shebangs - TODO: remove once https://github.com/OSGeo/grass/pull/75 is merged
-    cd /src/grass_build && \
-    find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' && \
-    sed -i 's,python,python3,' include/Make/Platform.make.in && \
-    #
     # Configure compile and install GRASS GIS
     #
     echo "  => Configure and compile grass";\

+ 0 - 5
docker/Dockerfile_alpine_wxgui

@@ -184,11 +184,6 @@ RUN echo "Install main packages";\
     tar xfz grass-$GRASS_VERSION.git_src_snapshot_latest.tar.gz --strip=1 -C /src/grass_build && \
     rm -f grass-$GRASS_VERSION.git_src_snapshot_latest.tar.gz; \
     #
-    # Fixup python shebangs - TODO: remove once https://github.com/OSGeo/grass/pull/75 is merged
-    cd /src/grass_build && \
-    find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' && \
-    sed -i 's,python,python3,' include/Make/Platform.make.in && \
-    #
     # Configure compile and install GRASS GIS
     #
     echo "  => Configure and compile grass";\