Commit f05495df authored by Dan McGee's avatar Dan McGee
Browse files

Whitespace fixes/cleanup to all of the scripts



Add the same vim modeline to all the files, as well as cleanup the newly
added scripts a bit. If you look at this diff with the -w option, you'll see
it really isn't all that significant.

Signed-off-by: default avatarDan McGee <dan@archlinux.org>
parent c229a696
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -73,3 +73,5 @@ if diff filelist-old filelist | grep '\.so\.' > /dev/null 2>&1; then
else
	echo "No filename differences"
fi

# vim:ft=sh:ts=4:sw=4:et:
+62 −60
Original line number Diff line number Diff line
@@ -101,3 +101,5 @@ if [ $? -ne 0 ]; then
    exit 1
fi
echo "===> Tagged as $tag"

# vim:ft=sh:ts=4:sw=4:et:
+32 −27
Original line number Diff line number Diff line
#!/bin/bash
#
# finddeps - find packages that depend on a given depname
#

if [ "$1" = "" ]; then
	echo "usage: finddep <depname>"
    echo "usage: finddeps <depname>"
    echo ""
	echo "run this script from the top-level directory of your ABS tree"
    echo "Find packages that depend on a given depname."
    echo "Run this script from the top-level directory of your ABS tree."
    echo ""
    exit 0
fi

match=$1
tld=`pwd`
tld=$(pwd)

for d in `find . -type d`; do
for d in $(find . -type d); do
    cd $d
    if [ -f PKGBUILD ]; then
        unset pkgname depends makedepends
@@ -34,3 +38,4 @@ for d in `find . -type d`; do
    cd $tld
done

# vim:ft=sh:ts=4:sw=4:et:
+22 −20
Original line number Diff line number Diff line
#!/bin/sh
#  2004/08/22  K. Piche  Find missing library references.
# modified by Tobias Powalowski <tpowa@archlinux.org>
#
# lddd - find broken library links on your machine
#

ifs=$IFS
IFS=':'

@@ -11,7 +13,7 @@ TEMPDIR=$(mktemp /tmp/lddd-script.XXXX)
rm $TEMPDIR
mkdir -p $TEMPDIR

echo " Go out drink some tea, this will take a while :) ..."
echo " Go out and drink some tea, this will take a while :) ..."
#  Check ELF binaries in the PATH and specified dir trees.
for tree in $PATH $libdirs $extras
do
@@ -42,4 +44,4 @@ sort -u $TEMPDIR/pacman.txt >> $TEMPDIR/possible-rebuilds.txt

echo "Files saved to $TEMPDIR"

exit
# vim:ft=sh:ts=4:sw=4:et:
+11 −9
Original line number Diff line number Diff line
@@ -132,3 +132,5 @@ else
    rm -rf ${chrootdir}/rw/build/*
    echo "Build complete"
fi

# vim:ft=sh:ts=4:sw=4:et:
+4 −4

File changed.

Contains only whitespace changes.

Loading