Skip to content

Commit

Permalink
Fix quoting of genconfig shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok committed Jun 19, 2024
1 parent 5409374 commit 0f3ddcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions doc/modgauche.texi
Original file line number Diff line number Diff line change
Expand Up @@ -16507,8 +16507,7 @@ is given, a variable @var{var} is bound to a value as follows:
(a1) @var{option-spec}が引数を要求しない場合は、@code{#t}。
(a2) @var{option-spec}がひとつの引数を要求する場合は、その引数の値。
(a3) @var{option-spec}がそれ以上の引数を要求する場合は、引数の値のリスト。
(b) @var{bind-spec}の形式が上の2.の場合、@var{callback}を
引数の値を伴って呼び出し、その戻り値。
(b) @var{bind-spec}の形式が上の2.の場合、@var{callback}を引数の値を伴って呼び出し、その戻り値。
@end example
@c COMMON

Expand Down Expand Up @@ -16603,7 +16602,6 @@ it stops argument parsing and returns a list of arguments after `@code{--}'.
中止して`@code{--}' の後の引数のリストを返します。
@c COMMON


@c EN
After all the bindings is done, @var{body} @dots{} are evaluated.
@var{Body} may began with internal define forms.
Expand Down
4 changes: 2 additions & 2 deletions src/genconfig.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ arch="$host"
# pathname including spaces. For now, only a limited people builds
# Windows installer so we make it so.
if [ "$prefix" = "@" ]; then
gauche_configure_args=`echo $gauche_configure_args | sed -e 's/--prefix=[^ ]*//g'`
gauche_configure_args=`echo $gauche_configure_args | sed -e "s/--prefix=[^ ']*//g"`
fi
if [ "$exec_prefix" = "@" ]; then
gauche_configure_args=`echo $gauche_configure_args | sed -e 's/--exec-prefix=[^ ]*//g'`
gauche_configure_args=`echo $gauche_configure_args | sed -e "s/--exec-prefix=[^ ']*//g"`
fi

local_inc="@LOCAL_INC@"
Expand Down

0 comments on commit 0f3ddcf

Please sign in to comment.