]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-sh-name.patch
- add initial support for amd64
[packages/busybox.git] / busybox-sh-name.patch
1 diff -Nur --exclude *~ busybox-0.51/busybox.c busybox-0.51.new/busybox.c
2 --- busybox-0.51/busybox.c      Tue Apr 10 00:48:11 2001
3 +++ busybox-0.51.new/busybox.c  Sun May 20 12:43:53 2001
4 @@ -94,6 +94,8 @@
5         }
6  
7  #ifdef BB_SH
8 +       if (strcmp(applet_name, "lash")==0) applet_name="sh";
9 +
10         /* Add in a special case hack -- whenever **argv == '-'
11          * (i.e. '-su' or '-sh') always invoke the shell */
12         if (**argv == '-' && *(*argv+1)!= '-') {
This page took 0.026125 seconds and 3 git commands to generate.