Move config directory from /usr/etc to /etc and fixed tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user