From af5111d7fa9b06581dd0d42533f5040a3231a300 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 13 Mar 2025 21:50:32 +0200 Subject: [PATCH] Move config directory from /usr/etc to /etc and fixed tests --- pkg.info | 2 +- source.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 9e95ed4..16f16af 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: fish description: A smart and user-friendly command line shell version: 3.7.1 -revision: 2 +revision: 3 url: https://fishshell.com/ license: GPL2 architecture: any diff --git a/source.sh b/source.sh index 88bf9d4..14cc6f2 100644 --- a/source.sh +++ b/source.sh @@ -17,7 +17,7 @@ prepare() { build() { mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc .. make } @@ -25,7 +25,7 @@ build() { # This function is used to run tests to verify the package has been compiled correctly check() { cd build - make check + make test } # The package function is executed in the source directory