Mercurial > vanilla
comparison dev/bmake/bmake.sh @ 1019:ddab65a5b3f5
vanilla: use /bin/busybox sh as default shell
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 29 Aug 2019 23:35:00 +0200 |
parents | 9a065a72dcad |
children | 297b5eef115e |
comparison
equal
deleted
inserted
replaced
1018:a0efa9896267 | 1019:ddab65a5b3f5 |
---|---|
1 #!/bin/sh | 1 #!/bin/busybox sh |
2 # | 2 # |
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> | 3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
4 # | 4 # |
5 # Permission to use, copy, modify, and/or distribute this software for any | 5 # Permission to use, copy, modify, and/or distribute this software for any |
6 # purpose with or without fee is hereby granted, provided that the above | 6 # purpose with or without fee is hereby granted, provided that the above |
35 { | 35 { |
36 rm -rf $PKGNAME | 36 rm -rf $PKGNAME |
37 tar xvf $PKGNAME-$PKGVERSION.tar.gz | 37 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
38 cd $PKGNAME | 38 cd $PKGNAME |
39 | 39 |
40 sed -i "1s,:,#!/bin/sh,g" install-sh | 40 sed -i "1s,:,#!/bin/busybox sh,g" install-sh |
41 mkdir build && cd build | 41 mkdir build && cd build |
42 CC="$CC" \ | 42 CC="$CC" \ |
43 CFLAGS="$CFLAGS" \ | 43 CFLAGS="$CFLAGS" \ |
44 CXX="$CXX" \ | 44 CXX="$CXX" \ |
45 CXXFLAGS="$CXXFLAGS" \ | 45 CXXFLAGS="$CXXFLAGS" \ |