[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispintro/install-sh
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lispintro/install-sh |
Date: |
Tue, 04 Feb 2003 09:44:46 -0500 |
Index: emacs/lispintro/install-sh
diff -c emacs/lispintro/install-sh:1.1 emacs/lispintro/install-sh:1.2
*** emacs/lispintro/install-sh:1.1 Sat Nov 24 03:45:51 2001
--- emacs/lispintro/install-sh Tue Feb 4 09:44:45 2003
***************
*** 115,121 ****
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
!
if [ -d $dst ]; then
instcmd=:
else
--- 115,121 ----
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
!
if [ -d $dst ]; then
instcmd=:
else
***************
*** 124,130 ****
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
! # might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
--- 124,130 ----
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
! # might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
***************
*** 134,140 ****
echo "install: $src does not exist"
exit 1
fi
!
if [ x"$dst" = x ]
then
echo "install: no destination specified"
--- 134,140 ----
echo "install: $src does not exist"
exit 1
fi
!
if [ x"$dst" = x ]
then
echo "install: no destination specified"
***************
*** 162,168 ****
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
! defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
--- 162,168 ----
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
! defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
***************
*** 201,217 ****
# If we're going to rename the final executable, determine the name now.
! if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
! dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
! if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
--- 201,217 ----
# If we're going to rename the final executable, determine the name now.
! if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
! dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
! if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
***************
*** 242,248 ****
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
! $doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
--- 242,248 ----
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
! $doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispintro/install-sh,
Juanma Barranquero <=