Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
abs
Commits
81b11703
Commit
81b11703
authored
Apr 17, 2011
by
matt mooney
Committed by
Allan McRae
Jul 02, 2011
Browse files
Whitespace cleanup
Signed-off-by:
matt mooney
<
mfm@muteddisk.com
>
parent
3563d1cc
Changes
8
Hide whitespace changes
Inline
Side-by-side
abs
View file @
81b11703
...
...
@@ -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
##
...
...
conf/abs.conf
View file @
81b11703
...
...
@@ -7,7 +7,7 @@
#
# Server to sync from
#
#
SYNCSERVER
=
"rsync.archlinux.org"
#
...
...
prototypes/PKGBUILD-bzr.proto
View file @
81b11703
...
...
@@ -60,4 +60,4 @@ build() {
package
()
{
cd
"$srcdir/$_bzrmod-build"
make
DESTDIR
=
"$pkgdir/"
install
}
}
prototypes/PKGBUILD-git.proto
View file @
81b11703
...
...
@@ -60,4 +60,4 @@ build() {
package
()
{
cd
"$srcdir/$_gitname-build"
make
DESTDIR
=
"$pkgdir/"
install
}
}
prototypes/PKGBUILD-hg.proto
View file @
81b11703
...
...
@@ -61,4 +61,4 @@ build() {
package
()
{
cd
"$srcdir/$_hgrepo-build"
make
DESTDIR
=
"$pkgdir/"
install
}
}
prototypes/PKGBUILD-perl.proto
View file @
81b11703
...
...
@@ -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
...
...
scripts/svn2abs
View file @
81b11703
...
...
@@ -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..."
...
...
scripts/update-abs.sh
View file @
81b11703
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment