From 77746490c428ef55149664ca0cd5578444877e5b Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 19 Jan 2022 21:29:49 +0000 Subject: will not create symlink if exists --- repo/system/binutils.xibuild | 2 +- repo/xi/xipkg.xibuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild index bb3db9d..8a18c93 100644 --- a/repo/system/binutils.xibuild +++ b/repo/system/binutils.xibuild @@ -40,6 +40,6 @@ package() { make -j1 DESTDIR=$PKG_DEST -j1 install cp ../include/libiberty.h $PKG_DEST/usr/include rm -fv $PKG_DEST/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a - ln -sv ld.gold $PKG_DEST/usr/bin/ld + [ -e $PKG_DEST/usr/bin/ld ] && ln -sv ld.gold $PKG_DEST/usr/bin/ld } diff --git a/repo/xi/xipkg.xibuild b/repo/xi/xipkg.xibuild index 94606aa..83014b5 100644 --- a/repo/xi/xipkg.xibuild +++ b/repo/xi/xipkg.xibuild @@ -6,7 +6,7 @@ SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git DESC="The xilinux package manager" build () { - make + make || true } package () { -- cgit v1.2.1