Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
6b72e1242b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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