bugfix for alternative webpath/webroot
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 11 May 2009 15:34:19 +0000 (15:34 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 11 May 2009 15:34:19 +0000 (15:34 +0000)
vbuild-nightly.sh

index 0fa9839..c15fd97 100755 (executable)
@@ -226,7 +226,9 @@ function runtest () {
     for a in i386 x86_64; do
        archdir=/vservers/$BASE/build/RPMS/$a
        if [ -d $archdir ] ; then
-           url=$(echo $archdir | sed -e "s,/vservers/$BASE/build,${TESTBUILDURL}${PLDISTRO}/${BASE},")
+           # where was that installed
+           url=$(echo $archdir | sed -e "s,/vservers/${BASE}/build,${WEBPATH}/${BASE},")
+           url=$(echo $url | sed -e "s,${WEBROOT},${TESTBUILDURL},")
            break
        fi
     done