1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-18 13:55:36 -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:
Yuxuan Shui 2024-08-02 17:17:33 +01:00
parent 6e63489bd8
commit a71f2a57b1
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -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