From e6112d757936333ff824125a6bcb8c079be56151 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date: Thu, 18 Feb 2021 14:53:33 +0200
Subject: [PATCH] examples: interactive.lua: add a shebang and update running
 instructions

---
 tests/examples/interactive.lua | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 mode change 100644 => 100755 tests/examples/interactive.lua

diff --git a/tests/examples/interactive.lua b/tests/examples/interactive.lua
old mode 100644
new mode 100755
index b66490c0..14d5b0b2
--- a/tests/examples/interactive.lua
+++ b/tests/examples/interactive.lua
@@ -1,3 +1,5 @@
+#!/usr/bin/wireplumber -e
+--
 -- WirePlumber
 --
 -- Copyright © 2021 Collabora Ltd.
@@ -8,10 +10,9 @@
 -- This is an example of an interactive script
 --
 -- Execute with:
--- wireplumber -e /path/to/interactive.lua option1=value1 option2=value2 ...
---
--- Using an absolute path to the script is necessary, otherwise
--- wireplumber will try to locate the script in $WIREPLUMBER_DATA_DIR/scripts
+--   wireplumber -e ./interactive.lua option1=value1 option2=value2 ...
+-- or:
+--   ./interactive.lua option1=value1 option2=value2
 -----------------------------------------------------------------------------
 
 --
-- 
GitLab