nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

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

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