From: Jim Meyering Date: Sat, 15 Apr 2000 09:13:40 +0000 (+0000) Subject: Remove unnecessary double quotes in assignments. X-Git-Tag: Release-1-4b~93 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=677b47566e8d3e4920e7479d0475d700f2f7057a;p=automake.git Remove unnecessary double quotes in assignments. --- diff --git a/compile b/compile index 7da75ce4..1a799392 100755 --- a/compile +++ b/compile @@ -2,7 +2,7 @@ # Wrapper for compilers which do not understand `-c -o'. -# Copyright (C) 1999 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -23,7 +23,7 @@ # compile PROGRAM [ARGS]... # `-o FOO.o' is removed from the args passed to the actual compile. -prog="$1" +prog=$1 shift ofile= @@ -32,11 +32,11 @@ args= while test $# -gt 0; do case "$1" in -o) - ofile="$2" + ofile=$2 shift ;; *.c) - cfile="$1" + cfile=$1 args="$args $1" ;; *) @@ -57,10 +57,10 @@ test -z "$cfile" && { } # Name of file we expect compiler to create. -cofile="`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`" +cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` # Create the lock directory. -lockdir="`echo $ofile | sed -e 's|/|_|g'`" +lockdir=`echo $ofile | sed -e 's|/|_|g'` while true; do if mkdir $lockdir > /dev/null 2>&1; then break diff --git a/lib/compile b/lib/compile index 7da75ce4..1a799392 100755 --- a/lib/compile +++ b/lib/compile @@ -2,7 +2,7 @@ # Wrapper for compilers which do not understand `-c -o'. -# Copyright (C) 1999 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -23,7 +23,7 @@ # compile PROGRAM [ARGS]... # `-o FOO.o' is removed from the args passed to the actual compile. -prog="$1" +prog=$1 shift ofile= @@ -32,11 +32,11 @@ args= while test $# -gt 0; do case "$1" in -o) - ofile="$2" + ofile=$2 shift ;; *.c) - cfile="$1" + cfile=$1 args="$args $1" ;; *) @@ -57,10 +57,10 @@ test -z "$cfile" && { } # Name of file we expect compiler to create. -cofile="`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`" +cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` # Create the lock directory. -lockdir="`echo $ofile | sed -e 's|/|_|g'`" +lockdir=`echo $ofile | sed -e 's|/|_|g'` while true; do if mkdir $lockdir > /dev/null 2>&1; then break