* Upload stylesheet.

svn path=/nixpkgs/trunk/; revision=579
This commit is contained in:
Eelco Dolstra 2003-12-10 09:51:17 +00:00
parent a7055cbe52
commit 233c7bd0f6
2 changed files with 4 additions and 2 deletions

View File

@ -18,11 +18,12 @@ testexpr=${storeexprs[1]}
if ! nix-store -vvvv -r "$srcexpr" > /dev/null; then exit 1; fi
if ! nix-store -vvvv -r "$testexpr" > /dev/null; then exit 1; fi
if ! outpath=$(nix-store -qn "$srcexpr"); then exit 1; fi
uploader="http://losser.st-lab.cs.uu.nl/~eelco/cgi-bin/upload.pl/"
curl --silent -T "$outpath/manual.html" "$uploader" || exit 1
curl --silent -T "$outpath/style.css" "$uploader" || exit 1
curl --silent -T "$outpath"/nix-*.tar.bz2 "$uploader" || exit 1
if ! nix-store -vvvv -r "$testexpr" > /dev/null; then exit 1; fi

View File

@ -29,3 +29,4 @@ echo "copying result..."
mkdir $out || exit 1
cp -p $pkgname.tar.gz $pkgname.tar.bz2 $out || exit 1
cp -p doc/manual/book.html $out/manual.html || exit 1
cp -p doc/manual/style.css $out/ || exit 1