#!/bin/sh # First argument of this script is the package name. # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list # Applying patches (if any) apply_patches ${1} && install -v -d /usr/java && cp -a ${LFS_TMP}/${1}/* /usr/java && ln -svf ../java/bin/java /usr/bin/java && var_add_path JAVA_HOME /etc/profile "/usr/java" && var_export JAVA_HOME /etc/profile # Return last error exit $?