From f2eab1a9005485238d3d69c187f739700b8fae5f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Jan 2004 16:14:16 +0000 Subject: [PATCH] * Upload to catamaran instead of losser. svn path=/nixpkgs/trunk/; revision=628 --- nix-dist/build+upload.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nix-dist/build+upload.sh b/nix-dist/build+upload.sh index 106e6f0765e..c925eeaef3d 100755 --- a/nix-dist/build+upload.sh +++ b/nix-dist/build+upload.sh @@ -23,10 +23,9 @@ srcexpr=${storeexprs[0]} testexpr=${storeexprs[1]} rpmexpr=${storeexprs[2]} -if ! nix-store -vvvv -r "$srcexpr" > /dev/null; then exit 1; fi -if ! outpath=$(nix-store -qn "$srcexpr"); then exit 1; fi +if ! outpath=$(nix-store -vvvv -qnf "$srcexpr"); then exit 1; fi -uploader="http://losser.st-lab.cs.uu.nl/~eelco/cgi-bin/create-dist.pl" +uploader="http://catamaran.labs.cs.uu.nl/~eelco/cgi-bin/create-dist.pl" # Extract the name of the release. relname=$((cd $outpath && echo nix-*.tar.bz2) | sed -e s/.tar.bz2//) @@ -54,8 +53,7 @@ $curl -T "$outpath"/manual.tar.bz2 "$uploader/upload-tar/$sessionname" || exit 1 #if ! nix-store -vvvv -r "$testexpr" > /dev/null; then exit 1; fi # Perform an RPM build, and upload the RPM to the server. -if ! nix-store -vvvv -r "$rpmexpr" > /dev/null; then exit 1; fi -if ! rpmpath=$(nix-store -qn "$rpmexpr"); then exit 1; fi +if ! rpmpath=$(nix-store -vvvv -qnf "$rpmexpr"); then exit 1; fi $curl -T "$rpmpath"/nix-*.rpm "$uploader/upload/$sessionname/" || exit 1 # Finish the upload session.