xorg fonctionnel en mode vesa
[hvlinux.git] / stage3 / cis-libid3tag
index acb5836..4275204 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+set -o errexit
+
 # First argument of this script is the package name.
 
 # Reading system configuration informations, functions and package versions.
@@ -7,19 +9,19 @@ source ../functions
 source ../packages-list
 
 # Applying patches (if any)
-apply_patches ${1} &&
+apply_patches ${1}
 
-cd ${LFS_TMP}/${1}-build &&
+cd ${LFS_TMP}/${1}-build
 ../${1}/configure \
     --prefix=/usr \
-    --sysconfdir=/etc &&
-make &&
-make install &&
+    --sysconfdir=/etc
+make
+make install
 
 # Some packages check for the pkg-config file for libid3tag.
 # This file is particularly needed so that gst-plugins-ugly can
 # recognize the installed libid3tag.
-cat > /usr/lib/pkgconfig/id3tag.pc << "EOF" &&
+cat > /usr/lib/pkgconfig/id3tag.pc << "EOF"
 prefix=/usr
 exec_prefix=${prefix}
 libdir=${exec_prefix}/lib
@@ -33,9 +35,8 @@ Libs: -L${libdir} -lid3tag -lz
 Cflags: -I${includedir}
 EOF
 
-sed -i -e "s!_LIBID3TAG_VERSION_!$(get_pkg_ver ${1})!g" /usr/lib/pkgconfig/id3tag.pc &&
+sed -i -e "s!_LIBID3TAG_VERSION_!$(get_pkg_ver ${1})!g" /usr/lib/pkgconfig/id3tag.pc
 
 ldconfig
 
-# Return last error
 exit $?