mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -05:00
tests: use env to find bash
Hardcoded paths don't work on NixOS. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
6e63489bd8
commit
a71f2a57b1
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -xe
|
||||
if [ -z $DISPLAY ]; then
|
||||
exec xvfb-run -s "+extension composite" -a $0 $1 $2 $3
|
||||
|
|
Loading…
Reference in a new issue