Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
cac56b8f
Commit
cac56b8f
authored
17 years ago
by
tho
Browse files
Options
Downloads
Patches
Plain Diff
updated senf home directory structure
parent
dfb4dd4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
admin/build.sh
+13
-10
13 additions, 10 deletions
admin/build.sh
admin/dump.sh
+5
-2
5 additions, 2 deletions
admin/dump.sh
with
18 additions
and
12 deletions
admin/build.sh
+
13
−
10
View file @
cac56b8f
#!/bin/sh -e
PATH
=
${
HOME
}
/bin:
${
PATH
}
LOGDIR
=
${
HOME
}
/log
cd
/home/senf/src
rm
-f
build.log
..
/upload.log
touch
build.log
..
/upload.log
rm
-f
${
LOGDIR
}
/
build.log
${
LOGDIR
}
/upload.log
touch
${
LOGDIR
}
/
build.log
${
LOGDIR
}
/upload.log
trap
'exec >/dev/null 2>&1; cat build.log
..
/upload.log 1>&3; exit 1'
ERR
trap
'exec >/dev/null 2>&1; cat
${LOGDIR}/
build.log
${LOGDIR}
/upload.log 1>&3; exit 1'
ERR
exec
3>&1
>
build.log 2>&1
exec
3>&1
>
${
LOGDIR
}
/
build.log 2>&1
echo
-n
'# Starting build at '
;
date
--utc
...
...
@@ -17,12 +20,12 @@ if [ "$1" == "-c" ]; then
fi
echo
'$ svn update'
svn update |
tee
..
/svn-update.log
if
grep
-qv
'^At '
..
/svn-update.log
;
then
svn update |
tee
${
LOGDIR
}
/svn-update.log
if
grep
-qv
'^At '
${
LOGDIR
}
/svn-update.log
;
then
echo
'$ rm -f doc/html/html.stamp'
rm
-f
doc/html/html.stamp
fi
rm
-f
..
/svn-update.log
rm
-f
${
LOGDIR
}
/svn-update.log
echo
"
\$
nice
${
SCONS
:-
scons
}
-kj2 all
${
DOXYGEN
:+DOXYGEN
=
"
$DOXYGEN
"
}
"
nice
${
SCONS
:-
scons
}
-kj2
all
${
DOXYGEN
:+DOXYGEN
=
"
$DOXYGEN
"
}
...
...
@@ -34,10 +37,10 @@ echo "\$ nice ${SCONS:-scons} fixlinks ${DOXYGEN:+DOXYGEN="$DOXYGEN"}"
nice
${
SCONS
:-
scons
}
fixlinks
${
DOXYGEN
:+DOXYGEN
=
"
$DOXYGEN
"
}
echo
-n
'# Build completed at '
;
date
--utc
exec
>
..
/upload.log 2>&1
exec
>
${
LOGDIR
}
/upload.log 2>&1
if
[
"
$1
"
==
"-c"
]
;
then
cp
build.log
build-full.log
cp
${
LOGDIR
}
/build.log
${
LOGDIR
}
/
build-full.log
fi
echo
-n
'# Upload started at '
;
date
--utc
...
...
@@ -57,4 +60,4 @@ rsync -rzv --del --delete-excluded \
echo
-n
'# Upload completed at '
;
date
--utc
exec
>
/dev/null 2>&1
scp
..
/upload.log g0dil@shell.berlios.de:/home/groups/senf/htdocs/upload.log
scp
${
LOGDIR
}
/upload.log g0dil@shell.berlios.de:/home/groups/senf/htdocs/upload.log
This diff is collapsed.
Click to expand it.
admin/dump.sh
+
5
−
2
View file @
cac56b8f
...
...
@@ -2,9 +2,12 @@
#
# Dump the complete subversion repository from berlios into the dumps/ folder
PATH
=
${
HOME
}
/bin:
${
PATH
}
LOGDIR
=
${
HOME
}
/log
target
=
`
date
+
'%Y%m%d.dump.gz'
`
dumpdir
=
/home/senf
/dumps
log
=
/home/senf
/dump.log
dumpdir
=
${
HOME
}
/dumps
log
=
${
LOGDIR
}
/dump.log
keep
=
4
###########################################################################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment