Skip to content

Commit

Permalink
test: Ignore flags passed to shim less
Browse files Browse the repository at this point in the history
This fixes #126.
  • Loading branch information
eth-p committed Aug 24, 2024
1 parent 0acf65e commit 01c2f9b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/shimexec/less
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ EOF
exit 0
fi

cat "$1"
FILES=()
while [[ $# -gt 0 ]]; do
-*) : ;;
*) FILES+=("$1")
done

cat "${FILES[@]}"

0 comments on commit 01c2f9b

Please sign in to comment.