summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2009-03-10 16:55:16 +0100
committerAndreas Gruenbacher <agruen@suse.de>2009-03-10 16:55:16 +0100
commit541da9910a264b4a0686ad6f77cdba6b0b273b29 (patch)
tree1fbce421265700c82cecda55ffed6cc0a8016b33
parent36c4c525d64b2db84753c7c829467a7df4ddf540 (diff)
downloadattr-541da9910a264b4a0686ad6f77cdba6b0b273b29.tar.gz
Whitespace cleanups
-rwxr-xr-xinstall-sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/install-sh b/install-sh
index 215e0d9..e790073 100755
--- a/install-sh
+++ b/install-sh
@@ -56,7 +56,7 @@ _chown ()
fi
fi
_st=0
- fi
+ fi
fi
fi
@@ -65,7 +65,7 @@ _chown ()
_manifest ()
-{
+{
echo $* | sed -e 's/\/\//\//g' >>${DIST_MANIFEST:-/dev/null}
}
@@ -114,14 +114,14 @@ do
DIRMODE=`expr $OPTARG`
FILEMODE=$DIRMODE
;;
- D)
+ D)
Dflag=true
;;
- S)
+ S)
symlink=$OPTARG
Sflag=true
;;
- d)
+ d)
dir=$DIST_ROOT/$OPTARG
dflag=true
;;
@@ -130,7 +130,7 @@ do
Tflag=true
;;
*)
- _usage
+ _usage
;;
esac
done
@@ -143,7 +143,7 @@ then
#
# first usage
#
- $MKDIR -p $dir
+ $MKDIR -p $dir
status=$?
if [ $status -eq 0 ]
then
@@ -163,13 +163,13 @@ then
#
if [ $# -ne 1 ]
then
- _usage
+ _usage
else
- target=$DIST_ROOT/$1
+ target=$DIST_ROOT/$1
fi
$LN -s -f $symlink $target
status=$?
- $MANIFEST l $symlink ${target#$DIST_ROOT}
+ $MANIFEST l $symlink ${target#$DIST_ROOT}
elif $Tflag
then
#
@@ -287,7 +287,7 @@ else
$CP $f $dir
status=$?
if [ $status -eq 0 ]
- then
+ then
if [ -f $dir/$f ]
then
$CHMOD $FILEMODE $dir/$f