From 479ac84af0a5c0b7e689544581769af0b7b90f8b Mon Sep 17 00:00:00 2001 From: "K. Eugene Carlson" Date: Thu, 10 Mar 2022 00:38:18 +0900 Subject: git/cargo: avoid writing to $HOME/.cargo Signed-off-by: Willy Sudiarto Raharjo --- system/skim/skim.SlackBuild | 1 + 1 file changed, 1 insertion(+) (limited to 'system/skim/skim.SlackBuild') diff --git a/system/skim/skim.SlackBuild b/system/skim/skim.SlackBuild index b9cd09e8fe41..3da29929f28e 100644 --- a/system/skim/skim.SlackBuild +++ b/system/skim/skim.SlackBuild @@ -141,6 +141,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +CARGO_HOME=.cargo \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ cargo build --offline --release $CARGOTARGET -- cgit v1.2.3