aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index d9ad3d3..cb82eb5 100755
--- a/run.sh
+++ b/run.sh
@@ -1,6 +1,6 @@
#!/bin/sh -e
-[ $# -ne 1 ] && echo "usage: run.sh debug|release" && exit 1
+[ $# -lt 1 ] && echo "usage: run.sh debug|release <args...>" && exit 1
script_dir=$(dirname "$0")
cd "$script_dir"
@@ -9,4 +9,4 @@ sibs build --"$1" video_player
sibs build --"$1"
echo "Successfully built the video player and QuickMedia"
-"./sibs-build/$(sibs platform)/$1/quickmedia"
+"./sibs-build/$(sibs platform)/$1/quickmedia" "${@:2}"