Skip to content

Commit 8069bbe

Browse files
Fix fake reaper splitting input with spaces
1 parent 06359b8 commit 8069bbe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ULWGL/reaper

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env sh
22
# Fake reaper file to avoid errors while running from source
3-
args="$*"
4-
cmd=${args#* -- }
5-
$cmd
3+
while [ "$1" != "--" ]; do
4+
shift
5+
done
6+
shift
7+
"$@"

0 commit comments

Comments
 (0)