summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/git.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index 23110ff3..f362450d 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -163,8 +163,7 @@ git_am_patches()
link_crossgcc()
{
(
- cd "$tmpgit/util" || $err "prep $1: !cd $tmpgit/util"
- rm -Rf crossgcc || $err "prep $1: !rm xgcc"
+ x_ cd "$tmpgit/util" && x_ rm -Rf crossgcc
ln -s "../../$xtree/util/crossgcc" crossgcc || $err "$1: !xgcc link"
) || $err "$1: !xgcc link"
}