diff --git a/pkgs/glib/glib-build.sh b/pkgs/glib/glib-build.sh index d76a3bbc91b1..3ec77b96d8e6 100755 --- a/pkgs/glib/glib-build.sh +++ b/pkgs/glib/glib-build.sh @@ -2,8 +2,8 @@ export PATH=$pkgconfig/bin:/bin:/usr/bin -tar xvfj $src -cd glib-* -LDFLAGS=-s ./configure --prefix=$out -make -make install +tar xvfj $src || exit 1 +cd glib-* || exit 1 +LDFLAGS=-s ./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1