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