X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-emacs;h=d9db20dd73d95ee4ac3b76e1f5c1e51572aac613;hb=425bbc4fed1d0106b78befe474328fb9f5a15334;hp=06639b4da58d32b131f72b54da1d2d74535ce4a2;hpb=b2f91df3e7c1d1ca93ced97b5001e3134243666b;p=hvlinux.git diff --git a/stage3/cis-emacs b/stage3/cis-emacs index 06639b4..d9db20d 100755 --- a/stage3/cis-emacs +++ b/stage3/cis-emacs @@ -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,20 +9,18 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && - -olddir=$(pwd) && +apply_patches ${1} -cd ${LFS_TMP}/${1}-build && +cd ${LFS_TMP}/${1}-build ../${1}/configure \ --prefix=/usr \ --libexecdir=/usr/sbin \ - --with-x-toolkit=gtk && -make bootstrap && -make install && -ldconfig && + --with-x-toolkit=gtk +make bootstrap +make install +ldconfig -cat > /etc/skel/.emacs << "EOF" && +cat > /etc/skel/.emacs << "EOF" ;; ~/.emacs ;; Emacs initialization file @@ -60,5 +60,4 @@ cat > /etc/skel/.emacs << "EOF" && (setq compilation-scroll-output t) EOF -# Return last error exit $?