rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone

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

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