Kaynağa Gözat

Export PS4 when RBENV_DEBUG is set for more informative debug output

pull/360/head^2
Sam Stephenson 13 yıl önce
ebeveyn
işleme
892aea138e
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      libexec/rbenv

+ 5
- 1
libexec/rbenv Dosyayı Görüntüle

@ -1,7 +1,11 @@
#!/usr/bin/env bash
set -e
[ -n "$RBENV_DEBUG" ] && set -x
if [ -n "$RBENV_DEBUG" ]; then
export PS4='+ [${BASH_SOURCE##*/}:${LINENO}] '
set -x
fi
resolve_link() {
$(type -p greadlink readlink | head -1) "$1"
}

Yükleniyor…
İptal
Kaydet