X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-subversion;h=8a6e0aac747cec0b2f1098edf1668d08eb88dc4c;hb=8c1ceecd26d41af612337eb87f51fa1d353d6c8a;hp=75d0f19db3f3f6e040b9b64c25d33737d52ea15b;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-subversion b/stage3/cis-subversion index 75d0f19..8a6e0aa 100755 --- a/stage3/cis-subversion +++ b/stage3/cis-subversion @@ -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,28 +9,27 @@ 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 \ --with-apxs=/usr/sbin/apxs \ - --without-berkeley-db && -make && -make install && + --without-berkeley-db +make +make install -cd ${LFS_TMP}/${1} && -rm doc/doxygen.conf && -find doc -type d -exec chmod 755 {} \; && -find doc -type f -exec chmod 644 {} \; && -install -v -m755 -d /usr/share/doc/${1} && -cp -v -R doc/* /usr/share/doc/${1} && +cd ${LFS_TMP}/${1} +rm doc/doxygen.conf +find doc -type d -exec chmod 755 {} \; +find doc -type f -exec chmod 644 {} \; +install -v -m755 -d /usr/share/doc/${1} +cp -v -R doc/* /usr/share/doc/${1} # Creating repositories directory -mkdir -p /srv/svn && -chown ${APACHE_USER}:${APACHE_USER} /srv/svn && +mkdir -p /srv/svn +chown ${APACHE_USER}:${APACHE_USER} /srv/svn ldconfig -# Return last error exit $?