mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add mc because upstream doesn't compile
This commit is contained in:
parent
b178e7f460
commit
52841c34c6
5 changed files with 222 additions and 0 deletions
11
mc/patches/010-subshell.patch
Normal file
11
mc/patches/010-subshell.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- a/src/subshell/common.c
|
||||
+++ b/src/subshell/common.c
|
||||
@@ -836,7 +836,7 @@ init_subshell_precmd (char *precmd, size
|
||||
"else "
|
||||
"[ \"${PWD##$HOME/}\" = \"$PWD\" ] && MC_PWD=\"$PWD\" || MC_PWD=\"~/${PWD##$HOME/}\"; "
|
||||
"fi; "
|
||||
- "echo \"$USER@$(hostname -s):$MC_PWD\"; "
|
||||
+ "echo \"$USER@$HOSTNAME:$MC_PWD\"; "
|
||||
"pwd>&%d; "
|
||||
"kill -STOP $$; "
|
||||
"}; " "PRECMD=precmd; " "PS1='$($PRECMD)$ '\n", subshell_pipe[WRITE]);
|
Loading…
Add table
Add a link
Reference in a new issue