svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

Blame SOURCES/bash-4.2-missing-opt-cd.patch

ff19ae
diff -up bash-4.2/builtins/cd.def.old bash-4.2/builtins/cd.def
ff19ae
--- bash-4.2/builtins/cd.def.old	2015-12-09 11:47:59.113106805 +0100
ff19ae
+++ bash-4.2/builtins/cd.def	2015-12-09 11:48:13.702060840 +0100
ff19ae
@@ -200,7 +200,7 @@ cd_builtin (list)
ff19ae
   eflag = 0;
ff19ae
   no_symlinks = no_symbolic_links;
ff19ae
   reset_internal_getopt ();
ff19ae
-  while ((opt = internal_getopt (list, "LP")) != -1)
ff19ae
+  while ((opt = internal_getopt (list, "LPe")) != -1)
ff19ae
     {
ff19ae
       switch (opt)
ff19ae
 	{