소스 검색

Don't leave CMD variable set in environment

As the file is designed to be sourced within a login shell, the $CMD
variable will hang around after its been used if we don't unset it.
Graham Ashton 9 년 전
부모
커밋
6b72e1242b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      bundler-exec.sh

+ 2 - 0
bundler-exec.sh

@@ -80,3 +80,5 @@ for CMD in $BUNDLED_COMMANDS; do
         alias $CMD="run-with-bundler $CMD"
     fi
 done
+
+unset CMD