From cdc456c8b7c6e3eb4b11d668fb9c6e9bdec7230e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 20 Apr 2017 23:05:01 -0400 Subject: Don't use subshells in local/export/declare commands. Only make this change in places where it shouldn't make a difference, and something weird has to be going on for the subshell to fail. This is on par with checking the return value of malloc. We don't need tests for each of these failure cases. --- src/aur | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aur') diff --git a/src/aur b/src/aur index 4dc7a99..03336eb 100755 --- a/src/aur +++ b/src/aur @@ -49,7 +49,7 @@ main() { load_files libretools check_vars libretools DIFFPROG || exit 1 - local startdir="$(pwd)" + local startdir=$PWD local missing_deps=() local ret=0 local pkg -- cgit v1.2.3-54-g00ecf