From 3474291f09f02b13b05a3120bfc7a206871a8ef4 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 23 Sep 2020 01:04:29 +0000 Subject: Wed Sep 23 01:04:29 UTC 2020 a/openssl-solibs-1.1.1h-x86_64-1.txz: Upgraded. ap/sudo-1.9.3-x86_64-1.txz: Upgraded. ap/vim-8.2.1728-x86_64-1.txz: Upgraded. d/cmake-3.18.3-x86_64-1.txz: Upgraded. l/jasper-2.0.21-x86_64-1.txz: Upgraded. n/openssl-1.1.1h-x86_64-1.txz: Upgraded. n/samba-4.13.0-x86_64-1.txz: Upgraded. xap/seamonkey-2.53.4-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.4 (* Security fix *) xap/vim-gvim-8.2.1728-x86_64-1.txz: Upgraded. --- source/d/rust/rust.SlackBuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source/d/rust') diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild index 22e5ccad6..9d0160f04 100755 --- a/source/d/rust/rust.SlackBuild +++ b/source/d/rust/rust.SlackBuild @@ -65,9 +65,11 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -# if you already have rust and cargo installed, you can bootstrap from the -# previous version. -if [ "$LOCAL_BOOTSTRAP" = "" ] && [ -x /usr/bin/cargo ] && [ -x /usr/bin/rustc ] ; then +# If the bootstrap binaries are present, use those. Otherwise bootstrap from +# installed compiler. +if /bin/ls *-unknown-linux-gnu.tar.gz 1> /dev/null 2> /dev/null ; then + LOCAL_BOOTSTRAP=no +else LOCAL_BOOTSTRAP=yes fi -- cgit v1.2.3