소스 검색

Revert "Merge pull request #1153 from cmcginty/remove-sbang"

This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb.
pull/1337/head
Andrew Rabert 5 년 전
부모
커밋
0f596d2504
32개의 변경된 파일44개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -0
      libexec/pyenv---version
  2. +1
    -0
      libexec/pyenv-commands
  3. +1
    -0
      libexec/pyenv-completions
  4. +2
    -0
      libexec/pyenv-exec
  5. +2
    -0
      libexec/pyenv-global
  6. +2
    -0
      libexec/pyenv-help
  7. +1
    -0
      libexec/pyenv-hooks
  8. +1
    -0
      libexec/pyenv-init
  9. +2
    -0
      libexec/pyenv-local
  10. +1
    -0
      libexec/pyenv-prefix
  11. +2
    -0
      libexec/pyenv-rehash
  12. +1
    -0
      libexec/pyenv-root
  13. +1
    -0
      libexec/pyenv-sh-rehash
  14. +2
    -0
      libexec/pyenv-sh-shell
  15. +1
    -0
      libexec/pyenv-shims
  16. +1
    -0
      libexec/pyenv-version
  17. +1
    -0
      libexec/pyenv-version-file
  18. +1
    -0
      libexec/pyenv-version-file-read
  19. +1
    -0
      libexec/pyenv-version-file-write
  20. +1
    -0
      libexec/pyenv-version-name
  21. +1
    -0
      libexec/pyenv-version-origin
  22. +1
    -0
      libexec/pyenv-versions
  23. +1
    -0
      libexec/pyenv-whence
  24. +2
    -0
      libexec/pyenv-which
  25. +2
    -0
      plugins/python-build/bin/pyenv-install
  26. +2
    -0
      plugins/python-build/bin/pyenv-uninstall
  27. +1
    -0
      plugins/python-build/test/stubs/stub
  28. +2
    -0
      pyenv.d/exec/pip-rehash/conda
  29. +2
    -0
      pyenv.d/exec/pip-rehash/easy_install
  30. +2
    -0
      pyenv.d/exec/pip-rehash/pip
  31. +1
    -1
      test/init.bats
  32. +1
    -0
      test/libexec/pyenv-echo

+ 1
- 0
libexec/pyenv---version 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Display the version of pyenv
#
# Displays the version number of this pyenv release, including the

+ 1
- 0
libexec/pyenv-commands 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: List all available pyenv commands
# Usage: pyenv commands [--sh|--no-sh]

+ 1
- 0
libexec/pyenv-completions 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Usage: pyenv completions <command> [arg1 arg2...]
set -e

+ 2
- 0
libexec/pyenv-exec 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Run an executable with the selected Python version
#
# Usage: pyenv exec <command> [arg1 arg2...]

+ 2
- 0
libexec/pyenv-global 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Set or show the global Python version
#
# Usage: pyenv global <version>

+ 2
- 0
libexec/pyenv-help 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Display help for a command
#
# Usage: pyenv help [--usage] COMMAND

+ 1
- 0
libexec/pyenv-hooks 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: List hook scripts for a given pyenv command
# Usage: pyenv hooks <command>

+ 1
- 0
libexec/pyenv-init 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Configure the shell environment for pyenv
# Usage: eval "$(pyenv init - [--no-rehash] [<shell>])"

+ 2
- 0
libexec/pyenv-local 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Set or show the local application-specific Python version
#
# Usage: pyenv local <version>

+ 1
- 0
libexec/pyenv-prefix 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Display prefix for a Python version
# Usage: pyenv prefix [<version>]
#

+ 2
- 0
libexec/pyenv-rehash 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Rehash pyenv shims (run this after installing executables)
set -e
@ -61,6 +62,7 @@ fi
# serves as a locking mechanism.
create_prototype_shim() {
cat > "$PROTOTYPE_SHIM_PATH" <<SH
#!/usr/bin/env bash
set -e
[ -n "\$PYENV_DEBUG" ] && set -x

+ 1
- 0
libexec/pyenv-root 파일 보기

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Summary: Display the root directory where versions and shims are kept
echo "$PYENV_ROOT"

+ 1
- 0
libexec/pyenv-sh-rehash 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 2
- 0
libexec/pyenv-sh-shell 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Set or show the shell-specific Python version
#
# Usage: pyenv shell <version>...

+ 1
- 0
libexec/pyenv-shims 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: List existing pyenv shims
# Usage: pyenv shims [--short]

+ 1
- 0
libexec/pyenv-version 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Show the current Python version and its origin
#
# Shows the currently selected Python version and how it was

+ 1
- 0
libexec/pyenv-version-file 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Usage: pyenv version-file [<dir>]
# Summary: Detect the file that sets the current pyenv version
set -e

+ 1
- 0
libexec/pyenv-version-file-read 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Usage: pyenv version-file-read <file>
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 1
- 0
libexec/pyenv-version-file-write 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Usage: pyenv version-file-write <file> <version>
set -e

+ 1
- 0
libexec/pyenv-version-name 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Show the current Python version
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 1
- 0
libexec/pyenv-version-origin 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: Explain how the current Python version is set
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 1
- 0
libexec/pyenv-versions 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: List all Python versions available to pyenv
# Usage: pyenv versions [--bare] [--skip-aliases]
#

+ 1
- 0
libexec/pyenv-whence 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Summary: List all Python versions that contain the given executable
# Usage: pyenv whence [--path] <command>

+ 2
- 0
libexec/pyenv-which 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Display the full path to an executable
#
# Usage: pyenv which <command>

+ 2
- 0
plugins/python-build/bin/pyenv-install 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Install a Python version using python-build
#
# Usage: pyenv install [-f] [-kvp] <version>

+ 2
- 0
plugins/python-build/bin/pyenv-uninstall 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Summary: Uninstall a specific Python version
#
# Usage: pyenv uninstall [-f|--force] <version>

+ 1
- 0
plugins/python-build/test/stubs/stub 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
set -e
status=0

+ 2
- 0
pyenv.d/exec/pip-rehash/conda 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 2
- 0
pyenv.d/exec/pip-rehash/easy_install 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 2
- 0
pyenv.d/exec/pip-rehash/pip 파일 보기

@ -1,3 +1,5 @@
#!/usr/bin/env bash
set -e
[ -n "$PYENV_DEBUG" ] && set -x

+ 1
- 1
test/init.bats 파일 보기

@ -35,7 +35,7 @@ load test_helper
cd "$PYENV_TEST_DIR"
cat > myscript.sh <<OUT
#!/bin/sh
eval "\$(pyenv init -)"
eval "\$(pyenv-init -)"
echo \$PYENV_SHELL
OUT
chmod +x myscript.sh

+ 1
- 0
test/libexec/pyenv-echo 파일 보기

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Usage: pyenv echo [-F<char>] VAR
if [[ $1 == -F* ]]; then

불러오는 중...
취소
저장