Merge pull request #310 from doraskayo/avoid-variable-export-2
Avoid exporting variables
This commit is contained in:
commit
b3ffe8bb19
|
@ -23,7 +23,7 @@ src_compile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
export base_dir="${PWD}"
|
base_dir="${PWD}"
|
||||||
# We "compile" the headers here because it is easier
|
# We "compile" the headers here because it is easier
|
||||||
for d in include/uapi arch/x86/include/uapi; do
|
for d in include/uapi arch/x86/include/uapi; do
|
||||||
cd "${d}"
|
cd "${d}"
|
||||||
|
|
|
@ -75,7 +75,7 @@ if [ $(($(ls -l "/dev/${DISK}" | sed "s/.*, *//" | sed "s/ .*//") % 8)) -eq 0 ];
|
||||||
mkfs.ext4 "/dev/${DISK}1"
|
mkfs.ext4 "/dev/${DISK}1"
|
||||||
DISK="${DISK}1"
|
DISK="${DISK}1"
|
||||||
fi
|
fi
|
||||||
echo "export DISK=${DISK}" >> /usr/src/bootstrap.cfg
|
echo "DISK=${DISK}" >> /usr/src/bootstrap.cfg
|
||||||
|
|
||||||
SYSC=/sysc
|
SYSC=/sysc
|
||||||
|
|
||||||
|
|
|
@ -15,13 +15,13 @@ src_prepare() {
|
||||||
src_compile() {
|
src_compile() {
|
||||||
(
|
(
|
||||||
set -e
|
set -e
|
||||||
export PKG_CONFIG_PATH="${LIBDIR}/pkgconfig"
|
declare -x PKG_CONFIG_PATH="${LIBDIR}/pkgconfig"
|
||||||
sed -i "s/make install/make install DESTDIR=\${DESTDIR}/" bootstrap_tarball.sh
|
sed -i "s/make install/make install DESTDIR=\${DESTDIR}/" bootstrap_tarball.sh
|
||||||
sed -i "/make check/d" bootstrap_tarball.sh
|
sed -i "/make check/d" bootstrap_tarball.sh
|
||||||
export FINALPREFIX="${PREFIX}"
|
declare -x FINALPREFIX="${PREFIX}"
|
||||||
export GUILE_STATIC="--static"
|
declare -x GUILE_STATIC="--static"
|
||||||
export GNULIBDIR="${PWD}"/../gnulib-8f4538a5
|
declare -x GNULIBDIR="${PWD}"/../gnulib-8f4538a5
|
||||||
export MAN_PAGE_DATE=1970-01-01
|
declare -x MAN_PAGE_DATE=1970-01-01
|
||||||
|
|
||||||
SKIP_MAIN=1 . ./bootstrap_tarball.sh
|
SKIP_MAIN=1 . ./bootstrap_tarball.sh
|
||||||
prepare_tarball
|
prepare_tarball
|
||||||
|
|
|
@ -23,7 +23,7 @@ src_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
export SOURCE_DATE_EPOCH=1638831119
|
declare -x SOURCE_DATE_EPOCH=1638831119
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue