git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e324b22
)
- fix how URL base is calculated
author
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 8 Nov 2004 18:28:13 +0000
(18:28 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 8 Nov 2004 18:28:13 +0000
(18:28 +0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
65b382b
..
2247dba
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-4,7
+4,7
@@
# crontabs to build nightly releases (default). Can also be invoked
# manually to build a tagged release (-r) in the current directory.
#
# crontabs to build nightly releases (default). Can also be invoked
# manually to build a tagged release (-r) in the current directory.
#
-# $Id: build.sh,v 1.1
7 2004/10/27 19:39:45
mlhuang Exp $
+# $Id: build.sh,v 1.1
8 2004/10/30 16:01:03
mlhuang Exp $
#
# Set defaults
#
# Set defaults
@@
-92,7
+92,9
@@
if [ $rc -ne 0 ] ; then
fi
# Create package manifest
fi
# Create package manifest
-${BASE}/packages.sh -b "http://build.planet-lab.org/${BASE##$HOME/}/SRPMS" ${BASE}/SRPMS > ${BASE}/SRPMS/packages.xml
+URLBASE=$(cd ${BASE} && pwd -P)
+URLBASE="http://build.planet-lab.org/${URLBASE##$HOME/}/SRPMS"
+${BASE}/packages.sh -b ${URLBASE} ${BASE}/SRPMS > ${BASE}/SRPMS/packages.xml
# Usually only the nightly build specifies -x
if [ -n "$BUILDS" ] ; then
# Usually only the nightly build specifies -x
if [ -n "$BUILDS" ] ; then