Jelajahi Sumber

remove now unneeded Python 3 shebang trick

Markus Neteler 5 tahun lalu
induk
melakukan
7ba4fbcca4
1 mengubah file dengan 0 tambahan dan 5 penghapusan
  1. 0 5
      docker/Dockerfile_alpine

+ 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: will be resolved in future by grass-core
-    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";\