Use ${bindir} in after.kaem

This commit is contained in:
Dor Askayo 2022-05-20 19:13:54 +03:00
parent fc0368aa6a
commit d1fea647ee

View file

@ -25,38 +25,37 @@ MES_PKG=mes-0.24
MES_PREFIX=${sysa}/${MES_PKG}/build/${MES_PKG} MES_PREFIX=${sysa}/${MES_PKG}/build/${MES_PKG}
GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${sysa}/${MES_PKG}/build/${NYACC_PKG}/module GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${sysa}/${MES_PKG}/build/${NYACC_PKG}/module
mkdir -p ${prefix} ${bindir} ${libdir} ${incdir} ${TMPDIR} mkdir -p ${prefix} ${bindir} ${libdir} ${incdir} ${TMPDIR}
cd ${prefix}
# Remove remaining dependencies on /bin (stage0-posix directory) # Remove remaining dependencies on /bin (stage0-posix directory)
cp /${ARCH_DIR}/bin/blood-elf bin/blood-elf cp /${ARCH_DIR}/bin/blood-elf ${bindir}/blood-elf
cp /${ARCH_DIR}/bin/catm bin/catm cp /${ARCH_DIR}/bin/catm ${bindir}/catm
cp /${ARCH_DIR}/bin/chmod bin/chmod cp /${ARCH_DIR}/bin/chmod ${bindir}/chmod
cp /${ARCH_DIR}/bin/get_machine bin/get_machine cp /${ARCH_DIR}/bin/get_machine ${bindir}/get_machine
cp /${ARCH_DIR}/bin/hex2 bin/hex2 cp /${ARCH_DIR}/bin/hex2 ${bindir}/hex2
cp /${ARCH_DIR}/bin/kaem bin/kaem cp /${ARCH_DIR}/bin/kaem ${bindir}/kaem
cp /${ARCH_DIR}/bin/match bin/match cp /${ARCH_DIR}/bin/match ${bindir}/match
cp /${ARCH_DIR}/bin/M1 bin/M1 cp /${ARCH_DIR}/bin/M1 ${bindir}/M1
cp /${ARCH_DIR}/bin/M2-Planet bin/M2-Planet cp /${ARCH_DIR}/bin/M2-Planet ${bindir}/M2-Planet
cp /${ARCH_DIR}/bin/mkdir bin/mkdir cp /${ARCH_DIR}/bin/mkdir ${bindir}/mkdir
cp /${ARCH_DIR}/bin/sha256sum bin/sha256sum cp /${ARCH_DIR}/bin/sha256sum ${bindir}/sha256sum
cp /${ARCH_DIR}/bin/ungz bin/ungz cp /${ARCH_DIR}/bin/ungz ${bindir}/ungz
cp /${ARCH_DIR}/bin/untar bin/untar cp /${ARCH_DIR}/bin/untar ${bindir}/untar
cp /${ARCH_DIR}/bin/cp bin/cp cp /${ARCH_DIR}/bin/cp ${bindir}/cp
chmod 755 bin/blood-elf chmod 755 ${bindir}/blood-elf
chmod 755 bin/catm chmod 755 ${bindir}/catm
chmod 755 bin/chmod chmod 755 ${bindir}/chmod
chmod 755 bin/cp chmod 755 ${bindir}/cp
chmod 755 bin/get_machine chmod 755 ${bindir}/get_machine
chmod 755 bin/hex2 chmod 755 ${bindir}/hex2
chmod 755 bin/kaem chmod 755 ${bindir}/kaem
chmod 755 bin/match chmod 755 ${bindir}/match
chmod 755 bin/M1 chmod 755 ${bindir}/M1
chmod 755 bin/M2-Planet chmod 755 ${bindir}/M2-Planet
chmod 755 bin/mkdir chmod 755 ${bindir}/mkdir
chmod 755 bin/sha256sum chmod 755 ${bindir}/sha256sum
chmod 755 bin/ungz chmod 755 ${bindir}/ungz
chmod 755 bin/untar chmod 755 ${bindir}/untar
PATH=${bindir} PATH=${bindir}