Python bootstrapper: hardcode /usr/bin/python
authorMichael Hanselmann <hansmi@google.com>
Wed, 27 Oct 2010 11:52:14 +0000 (13:52 +0200)
committerMichael Hanselmann <hansmi@google.com>
Wed, 27 Oct 2010 11:58:06 +0000 (13:58 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

Makefile.am

index 3d300d6..2729aec 100644 (file)
@@ -626,7 +626,7 @@ $(REPLACE_VARS_SED): Makefile
 $(PYTHON_BOOTSTRAP): Makefile
        set -e; \
        module='$(subst -,_,$(notdir $@))'; \
-       { echo "#!$(PYTHON)"; \
+       { echo '#!/usr/bin/python'; \
          echo '# This file is automatically generated, do not edit!'; \
          echo "# Edit ganeti.client.$$module instead."; \
          echo; \