From 4a7cfa71a9ab895c46771076f172ed888f7e28ea Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 17 Oct 2014 00:03:20 +0000 Subject: [PATCH] configure: Quote some shell variables. From Dominik Vogt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216355 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgo/configure | 16 ++++++++-------- libgo/configure.ac | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libgo/configure b/libgo/configure index 486129030f3..7984e862e64 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13886,17 +13886,17 @@ GO_LIBCALL_OS_FILE= GO_LIBCALL_OS_ARCH_FILE= GO_SYSCALL_OS_FILE= GO_SYSCALL_OS_ARCH_FILE= -if test -f ${srcdir}/go/syscall/libcall_${GOOS}.go; then - GO_LIBCALL_OS_FILE=go/syscall/libcall_${GOOS}.go +if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then + GO_LIBCALL_OS_FILE="go/syscall/libcall_${GOOS}.go" fi -if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go; then - GO_LIBCALL_OS_ARCH_FILE=go/syscall/libcall_${GOOS}_${GOARCH}.go +if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then + GO_LIBCALL_OS_ARCH_FILE="go/syscall/libcall_${GOOS}_${GOARCH}.go" fi -if test -f ${srcdir}/go/syscall/syscall_${GOOS}.go; then - GO_SYSCALL_OS_FILE=go/syscall/syscall_${GOOS}.go +if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then + GO_SYSCALL_OS_FILE="go/syscall/syscall_${GOOS}.go" fi -if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go; then - GO_SYSCALL_OS_ARCH_FILE=go/syscall/syscall_${GOOS}_${GOARCH}.go +if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then + GO_SYSCALL_OS_ARCH_FILE="go/syscall/syscall_${GOOS}_${GOARCH}.go" fi diff --git a/libgo/configure.ac b/libgo/configure.ac index 11bba70150b..0469b89a98a 100644 --- a/libgo/configure.ac +++ b/libgo/configure.ac @@ -306,17 +306,17 @@ GO_LIBCALL_OS_FILE= GO_LIBCALL_OS_ARCH_FILE= GO_SYSCALL_OS_FILE= GO_SYSCALL_OS_ARCH_FILE= -if test -f ${srcdir}/go/syscall/libcall_${GOOS}.go; then - GO_LIBCALL_OS_FILE=go/syscall/libcall_${GOOS}.go +if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then + GO_LIBCALL_OS_FILE="go/syscall/libcall_${GOOS}.go" fi -if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go; then - GO_LIBCALL_OS_ARCH_FILE=go/syscall/libcall_${GOOS}_${GOARCH}.go +if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then + GO_LIBCALL_OS_ARCH_FILE="go/syscall/libcall_${GOOS}_${GOARCH}.go" fi -if test -f ${srcdir}/go/syscall/syscall_${GOOS}.go; then - GO_SYSCALL_OS_FILE=go/syscall/syscall_${GOOS}.go +if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then + GO_SYSCALL_OS_FILE="go/syscall/syscall_${GOOS}.go" fi -if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go; then - GO_SYSCALL_OS_ARCH_FILE=go/syscall/syscall_${GOOS}_${GOARCH}.go +if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then + GO_SYSCALL_OS_ARCH_FILE="go/syscall/syscall_${GOOS}_${GOARCH}.go" fi AC_SUBST(GO_LIBCALL_OS_FILE) AC_SUBST(GO_LIBCALL_OS_ARCH_FILE) -- 2.11.4.GIT