drwxr-xr-x root/root bin/
-rwxr-xr-x root/root bin/bash
-lrwxrwxrwx root/root bin/sh -> bash
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/profile
drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/bash.1.gz
-lrwxrwxrwx root/root usr/man/man1/sh.1.gz -> bash.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bash.1.gz
./configure --prefix=/usr \
--build=arm-unknown-linux-gnueabihf \
--exec-prefix= \
- --mandir=/usr/man \
--disable-nls \
--with-curses \
--with-installed-readline
make -j1
install -D -m 755 bash $PKG/bin/bash
- install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1
+ install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
install -D -m 644 $SRC/profile $PKG/etc/profile
-
- ln -s bash $PKG/bin/sh
- ln -s bash.1 $PKG/usr/man/man1/sh.1
}