mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
Bash bearbeitet, da der Bootpromt nicht richtig arbeitete.
Kleiner Fix damit man ohne prefetching bauen kann. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@400 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
15
src/patches/bash-3.1-login.patch
Normal file
15
src/patches/bash-3.1-login.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- bash-3.1/shell.c.login 2006-01-13 16:52:14.000000000 +0000
|
||||
+++ bash-3.1/shell.c 2006-01-13 16:52:15.000000000 +0000
|
||||
@@ -1543,9 +1543,10 @@
|
||||
any startup files; just try to be more like /bin/sh. */
|
||||
shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
|
||||
|
||||
- if (*shell_name == '-')
|
||||
+ if (argv0 && *argv0 == '-')
|
||||
{
|
||||
- shell_name++;
|
||||
+ if (*shell_name == '-')
|
||||
+ shell_name++;
|
||||
login_shell++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user