diff options
author | Mark Wagie | 2021-08-26 18:31:08 -0600 |
---|---|---|
committer | Mark Wagie | 2021-08-26 18:31:08 -0600 |
commit | 8a9a67ff8a7f5e111a949644fe66d304b2052da6 (patch) | |
tree | 493c928cc3b6bfbe85aef04080519009efdb8ab9 /PKGBUILD | |
parent | 3faa9a22a34cf0fb13d018f3ddc2332e9a72176e (diff) | |
download | aur-8a9a67ff8a7f5e111a949644fe66d304b2052da6.tar.gz |
adjust variables
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -35,17 +35,17 @@ check() { _appdata_id=org.nicotine_plus.Nicotine # Some tests require an X server - display=":70" - Xvfb $display -screen 0 1024x768x24 -ac -noreset & xpid=$! + _display=":70" + Xvfb ${_display} -screen 0 1024x768x24 -ac -noreset & xpid=$! trap "kill -TERM $xpid || :" EXIT sleep 3 - export DISPLAY=$display + export DISPLAY=${_display} # Tests requiring an Internet connection are disabled pytest --deselect=test/unit/test_version.py - desktop-file-validate data/$_appdata_id.desktop - appstream-util validate-relax --nonet data/$_appdata_id.metainfo.xml + desktop-file-validate data/${_appdata_id}.desktop + appstream-util validate-relax --nonet data/${_appdata_id}.metainfo.xml } package() { |