nixpkgs/build/pkgconfig-build.sh
Eelco Dolstra d563648841 * Add "... || exit 1" to every command to catch failure.
svn path=/nix/trunk/test/; revision=44
2003-04-23 07:23:01 +00:00

13 lines
217 B
Bash
Executable file

#! /bin/sh
export PATH=/bin:/usr/bin
top=`pwd`
tar xvfz $src || exit 1
cd pkgconfig-* || exit 1
./configure --prefix=$top || exit 1
make || exit 1
make install || exit 1
cd .. || exit 1
rm -rf pkgconfig-* || exit 1