Browse Source

Fix test environments

Alois Mahdal 7 years ago
parent
commit
8712da8784
2 changed files with 3 additions and 3 deletions
  1. 2
    1
      packaging/debian/rules
  2. 1
    2
      packaging/template.spec

+ 2
- 1
packaging/debian/rules View File

@@ -9,4 +9,5 @@ override_dh_auto_install:
9 9
 	make install PREFIX=/usr DESTDIR=debian/tmp
10 10
 
11 11
 override_dh_auto_test:
12
-	make test SHELLFU_PATH=$(shell pwd)/src
12
+	make test \
13
+		SHELLFU_PATH=$(shell pwd)/debian/tmp/usr/share/shellfu/include-bash

+ 1
- 2
packaging/template.spec View File

@@ -36,8 +36,7 @@ make %{?_smp_mflags} PREFIX=/usr
36 36
 
37 37
 %check
38 38
 make test \
39
-    "PATH=%{buildroot}%{_bindir}:$PATH" \
40
-    "SHELLFU_DIR=%{buildroot}%{_datadir}/%{name}"
39
+    SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
41 40
 
42 41
 %files
43 42
 %doc %{_docdir}/%{name}/README.md