]> sourceware.org Git - automake.git/commitdiff
Remove unnecessary double quotes in assignments.
authorJim Meyering <jim@meyering.net>
Sat, 15 Apr 2000 09:13:40 +0000 (09:13 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Apr 2000 09:13:40 +0000 (09:13 +0000)
compile
lib/compile

diff --git a/compile b/compile
index 7da75ce41b3d860b334c69fbfdd050db9b239f4f..1a7993927491b286e29f22ce1a91776eeb9c7a4f 100755 (executable)
--- 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 <tromey@cygnus.com>.
 #
 # 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
index 7da75ce41b3d860b334c69fbfdd050db9b239f4f..1a7993927491b286e29f22ce1a91776eeb9c7a4f 100755 (executable)
@@ -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 <tromey@cygnus.com>.
 #
 # 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
This page took 0.030919 seconds and 5 git commands to generate.