Commit 81b11703 authored by matt mooney's avatar matt mooney Committed by Allan McRae
Browse files

Whitespace cleanup


Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
parent 3563d1cc
......@@ -219,7 +219,7 @@ while true; do
-t|--tarball) TARBALL=1;;
--) OPT_IND=0; shift; break;;
*) usage; exit $_E_INVALID_OPTION;;
*) usage; exit $_E_INVALID_OPTION;;
esac
shift
done
......@@ -229,7 +229,7 @@ if [ "$#" -gt "0" ]; then
REPOS=("$@")
fi
##
##
# Verify Config
##
if [ ! -d "$ABSROOT" ]; then
......@@ -239,7 +239,7 @@ fi
if [ ! -w "$ABSROOT" ]; then
error "no write permissions in $ABSROOT"
exit $_E_CONFIG_ERROR
exit $_E_CONFIG_ERROR
fi
##
......
......@@ -7,7 +7,7 @@
#
# Server to sync from
#
#
SYNCSERVER="rsync.archlinux.org"
#
......
......@@ -60,4 +60,4 @@ build() {
package() {
cd "$srcdir/$_bzrmod-build"
make DESTDIR="$pkgdir/" install
}
}
......@@ -60,4 +60,4 @@ build() {
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir/" install
}
}
......@@ -61,4 +61,4 @@ build() {
package() {
cd "$srcdir/$_hgrepo-build"
make DESTDIR="$pkgdir/" install
}
}
......@@ -31,7 +31,7 @@ build() {
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
## for packages with Build.PL, do this instead:
# perl Build.PL installdirs=vendor destdir="$pkgdir/"
# perl Build
......
......@@ -40,7 +40,7 @@ function usage()
echo "Usage: $0 [svn checkout dir] [abs dir] [svn repo location]"
echo " $0 (-v | --version)"
echo " $0 (-h | --help)"
echo
echo
echo "Takes svn repo structure of form \$pkgname/repos/\$repo-\$arch"
echo "and converts it to the ABS structure of \$arch/\$repo/\$pkgname"
echo "then syncs ABS tree in $ABS_DIR with extracted structure."
......@@ -84,15 +84,15 @@ function checkout_svn()
mkdir "$targetdir"
fi
cd "$targetdir"
cd "$targetdir"
# Simple check - if $targetdir/.svn exists, then we can assume
# the repo has been checked out (ie. we can just run an update
# the repo has been checked out (ie. we can just run an update
# instead of a full checkout)
if [ -d "./.svn" ]; then
# Checkout already exists - just update it
echo "Updating SVN repo..."
svn update
svn update
else
# Checkout the tree into $targetdir
echo "Checking out SVN repo..."
......
......@@ -11,7 +11,7 @@ for server in ${SERVERS[@]}; do
[ -d /srv/abs/tree/$server ] && rm -rf /srv/abs/tree/$server/*
done
# create ABS trees
# create ABS trees
/srv/abs/svn2abs /srv/abs/checkout/gerolde /srv/abs/tree/gerolde file:///srv/svn-packages
/srv/abs/svn2abs /srv/abs/checkout/sigurd /srv/abs/tree/sigurd file:///srv/svn-community
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment