[scripts] 01/01: New import script
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Thu Feb 13 17:50:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository scripts.
commit 1677ff2e9b106e5b4ec4ad4253415db721ee0d3a
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Thu Feb 13 18:50:02 2014 +0100
New import script
---
export-boinc | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/export-boinc b/export-boinc
index f270da9..b379924 100755
--- a/export-boinc
+++ b/export-boinc
@@ -26,7 +26,7 @@ Usage: export-boinc <options>
This script downloads from the developers' git repository a particular
version of the BOINC (Berkeley Open Infrastructure for Network
Computing) middleware for volunteer computing. It clones everything
- or performs a pull on ./boinc-v2 .
+ or performs a pull on ../boinc-v2 .
Options:
@@ -56,14 +56,14 @@ if [ "$1" == "--help" ]; then
exit 0
fi
-if [ -d boinc-v2 ]; then
- if [ ! -d boinc-v2/.git ]; then
+if [ -d ../boinc-v2 ]; then
+ if [ ! -d ../boinc-v2/.git ]; then
echo "E: found directory 'boinc-v2' which is not a git repository where I meant to export the boinc source tree to. Please clean up."
exit 1
fi
fi
-if [ -f boinc-v2 ]; then
+if [ -f ../boinc-v2 ]; then
echo "E: found file 'boinc-v2' where I meant to export the boinc source tree to. Please clean up."
exit 1
fi
@@ -126,15 +126,15 @@ if [ -n "$missing" ]; then
exit 1
fi
-if [ -d boinc-v2 ]; then
+if [ -d ../boinc-v2 ]; then
echo "I: Found previous checkout of upstream BOINC source in 'boinc-v2'."
- cd boinc-v2
+ cd ../boinc-v2
echo "I: Updating BOINC source tree. This takes a bit of time."
git pull
else
echo "I: Cloning upstream BOINC source tree. This takes a while, maybe five minutes."
- git clone $GIT_ROOT
- cd boinc-v2
+ git clone $GIT_ROOT ../boinc-v2
+ cd ../boinc-v2
fi
# Remove non-free or unneeded sources or cruft from the upstream source
@@ -239,12 +239,7 @@ $GIT_COMMAND
echo "[ok]"
cat <<EOINSTRUCTIONS
-Now you can easily import the new version. First, go to
-the alioth git repository of pkg-boinc, not unlikely with
-
- cd ../boinc
-
-then perform the import itself with the command
+Now you can easily import the new tarball with the command
git-import-orig --pristine-tar $DEST_DIR/$ORIG_ARCHIVE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/scripts.git
More information about the pkg-boinc-commits
mailing list