Skip to content

Commit

Permalink
Support --prefix= and --version= in install-capi.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Sep 26, 2023
1 parent 8c09c08 commit affcf91
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install-capi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,19 @@ while [ $# -gt 0 ]; do
shift
shift
;;
--version=*)
version=${1#--version=}
shift
;;
--prefix)
prefix=$2
shift
shift
;;
--prefix=*)
prefix=${1#--prefix=}
shift
;;
*)
echo "Error: argument '$1' unknown"
exit 1
Expand Down

0 comments on commit affcf91

Please sign in to comment.