summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-19 21:29:49 +0000
committerdavidovski <david@davidovski.xyz>2022-01-19 21:29:49 +0000
commit77746490c428ef55149664ca0cd5578444877e5b (patch)
tree6d102a9a788f981c72863ec272be64eaa7db7f84
parent9e3881d63d385deb8f6b1f8718eaa1e8b633dd58 (diff)
will not create symlink if exists
-rw-r--r--repo/system/binutils.xibuild2
-rw-r--r--repo/xi/xipkg.xibuild2
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 () {