mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 23:35:24 +01:00
Some shellcheck fixes.
This commit is contained in:
parent
ef0030bbf3
commit
6c4b98a17a
37 changed files with 90 additions and 93 deletions
|
|
@ -15,7 +15,7 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
install -D autoconf ${DESTDIR}${PREFIX}/bin/autoconf-2.52
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/autoconf-2.52
|
||||
cp -r *.m4* ${DESTDIR}${PREFIX}/share/autoconf-2.52/
|
||||
install -D autoconf "${DESTDIR}${PREFIX}/bin/autoconf-2.52"
|
||||
mkdir -p "${DESTDIR}${PREFIX}/share/autoconf-2.52"
|
||||
cp -r -- *.m4* "${DESTDIR}${PREFIX}/share/autoconf-2.52/"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@
|
|||
|
||||
src_prepare() {
|
||||
rm doc/standards.info doc/autoconf.info
|
||||
rm Makefile.in */Makefile.in
|
||||
rm -- Makefile.in */Makefile.in
|
||||
rm configure
|
||||
autoconf-2.52
|
||||
automake-1.4
|
||||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
@ -25,8 +25,8 @@ src_compile() {
|
|||
|
||||
src_install() {
|
||||
# Remove manually installed autoconf
|
||||
rm ${PREFIX}/bin/autoconf-2.52
|
||||
rm -rf ${PREFIX}/share/autoconf-2.52
|
||||
rm "${PREFIX}/bin/autoconf-2.52"
|
||||
rm -rf "${PREFIX}/share/autoconf-2.52"
|
||||
|
||||
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue