chiark / gitweb /
busybox: avoid hardlink
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 9 Jul 2015 01:48:16 +0000 (21:48 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 9 Jul 2015 01:48:16 +0000 (21:48 -0400)
packages/busybox/build.sh

index 5374a51191f1c10213383d8b4f85227bcec44b44..7e9909cb3992b8b2f9ff5275a3396f11c1ecb7f0 100755 (executable)
@@ -32,7 +32,9 @@ termux_step_post_make_install () {
 
        cd $TERMUX_PREFIX/bin
        rm -f ash
-       ln busybox ash
+       # Wasteful with a copy, but need to update pwd.h patch before fixing:
+       cp busybox ash
+       chmod +x ash
 
        # Install busybox man page
        mkdir -p $TERMUX_PREFIX/share/man/man1