nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

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

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