aboutsummaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-10-19 14:43:53 -0700
committerElliott Hughes <enh@google.com>2015-10-19 18:03:12 -0700
commit892a68bdf2f50b40781212e4d7ee7369c8165953 (patch)
tree4631bbb5e4807fc72227762e0bd5ee0fe6acdfdd /install-sh
parent7a9fc8fd72dd4f76910a4c398b36ea324a23328d (diff)
downloadtcpdump-892a68bdf2f50b40781212e4d7ee7369c8165953.tar.gz
Upgrade to tcpdump 4.7.4.
Bug: http://b/24902618 Change-Id: I7c3605015d90453b0a8c339b1774e285796f8775
Diffstat (limited to 'install-sh')
-rwxr-xr-xinstall-sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/install-sh b/install-sh
index ebc66913..b44de098 100755
--- a/install-sh
+++ b/install-sh
@@ -115,7 +115,7 @@ fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
-
+
if [ -d $dst ]; then
instcmd=:
else
@@ -124,7 +124,7 @@ if [ x"$dir_arg" != x ]; then
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad
+# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
@@ -134,7 +134,7 @@ else
echo "install: $src does not exist"
exit 1
fi
-
+
if [ x"$dst" = x ]
then
echo "install: no destination specified"
@@ -201,17 +201,17 @@ else
# If we're going to rename the final executable, determine the name now.
- if [ x"$transformarg" = x ]
+ if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
- dstfile=`basename $dst $transformbasename |
+ dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
- if [ x"$dstfile" = x ]
+ if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
@@ -242,7 +242,7 @@ else
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
- $doit $mvcmd $dsttmp $dstdir/$dstfile
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&