Show
Ignore:
Timestamp:
04/10/05 20:41:52 (4 years ago)
Author:
miyoshi
Message:

* vpath.sed: Imported from Emacs CVS HEAD.

* update-subdirs: Ditto.

* mkinstalldirs: Ditto.

* make-dist: Ditto.

* install-sh: Ditto.

* configure.in: Ditto.

* config.bat: Ditto.

* README: Ditto.

* Makefile.in: Ditto.

* INSTALL: Ditto.

* FTP: Ditto.

* ChangeLog?: Ditto.

* BUGS: Ditto.

* AUTHORS: Ditto.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/install-sh

    r99 r3681  
    116116        dst=$src 
    117117        src="" 
    118          
     118 
    119119        if [ -d $dst ]; then 
    120120                instcmd=: 
     
    125125 
    126126# Waiting for this to be detected by the "$instcmd $src $dsttmp" command 
    127 # might cause directories to be created, which would be especially bad  
     127# might cause directories to be created, which would be especially bad 
    128128# if $src (and thus $dsttmp) contains '*'. 
    129129 
     
    135135                exit 1 
    136136        fi 
    137          
     137 
    138138        if [ x"$dst" = x ] 
    139139        then 
     
    163163# Skip lots of stat calls in the usual case. 
    164164if [ ! -d "$dstdir" ]; then 
    165 defaultIFS='    
     165defaultIFS=' 
    166166' 
    167167IFS="${IFS-${defaultIFS}}" 
     
    202202# If we're going to rename the final executable, determine the name now. 
    203203 
    204         if [ x"$transformarg" = x ]  
     204        if [ x"$transformarg" = x ] 
    205205        then 
    206206                dstfile=`basename $dst` 
    207207        else 
    208                 dstfile=`basename $dst $transformbasename |  
     208                dstfile=`basename $dst $transformbasename | 
    209209                        sed $transformarg`$transformbasename 
    210210        fi 
     
    212212# don't allow the sed command to completely eliminate the filename 
    213213 
    214         if [ x"$dstfile" = x ]  
     214        if [ x"$dstfile" = x ] 
    215215        then 
    216216                dstfile=`basename $dst` 
     
    243243 
    244244        $doit $rmcmd -f $dstdir/$dstfile && 
    245         $doit $mvcmd $dsttmp $dstdir/$dstfile  
     245        $doit $mvcmd $dsttmp $dstdir/$dstfile 
    246246 
    247247fi &&