From b85b3ba40c5473cf20fe4524466663cdc48772d2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 24 Dec 2018 23:06:58 -0500 Subject: opkbuild, ob-*: Parameterize SHSOEXT and LIBOPKBUILD_SHSOVERSION --- diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh index 619065a..daf3d82 100644 --- a/src/ob-applypatches.sh +++ b/src/ob-applypatches.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh index f6db912..3421a46 100644 --- a/src/ob-buildenv.sh +++ b/src/ob-buildenv.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh index 88d0c32..ab016ff 100644 --- a/src/ob-buildopk.sh +++ b/src/ob-buildopk.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh index c70d679..51264fe 100644 --- a/src/ob-checkbuilddeps.sh +++ b/src/ob-checkbuilddeps.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh index 7993100..91d0229 100644 --- a/src/ob-genchanges.sh +++ b/src/ob-genchanges.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index b217c37..0a3817c 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh index f19f496..e151fd2 100644 --- a/src/ob-installdocs.sh +++ b/src/ob-installdocs.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" main() { diff --git a/src/ob-installplatconf.sh b/src/ob-installplatconf.sh index e927a7a..b8d9c7f 100644 --- a/src/ob-installplatconf.sh +++ b/src/ob-installplatconf.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" system_paths_ifs=' ' diff --git a/src/ob-unpacksource.sh b/src/ob-unpacksource.sh index f282fdc..478fa17 100644 --- a/src/ob-unpacksource.sh +++ b/src/ob-unpacksource.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" upstream_ar_base= upstream_ar= diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 661cb53..cefcc78 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . -. "${LIBDATADIR}/libopkbuild.shso.1" +. "${LIBDATADIR}/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" export OPK_SOURCE= export OPK_SOURCE_VERSION= -- cgit v0.9.1