From 0c5073b2fc7adf0c16b13f32c533f4e758335c38 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 14 Nov 2012 20:23:14 -0500 Subject: Remove archtab generation from testsetup.sh --- diff --git a/testsetup.sh b/testsetup.sh index fdd635e..f32df15 100755 --- a/testsetup.sh +++ b/testsetup.sh @@ -19,13 +19,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -prefix='' -datadir='' sysconfdir='' long_opts_with_args=' -prefix -datadir sysconfdir ' @@ -34,8 +30,6 @@ main() parse_options "${@}" shift ${optind} - [ -z "${prefix}" ] && prefix='/usr/local' - [ -z "${datadir}" ] && datadir="${prefix}/share" [ -z "${sysconfdir}" ] && sysconfdir='/etc' if [ ${#} -ne 2 ]; then @@ -54,22 +48,6 @@ main() echo "${build_plat}" >"${sysconfdir}/proteanos_plat" || \ error 'Cannot write proteanos_plat' - printf 'Generating distribution architecture data...\n' - mkdir -p "${datadir}/opkbuild/archtab" || \ - error 'Cannot make architecture table directory' - printf 'x86_64-unknown-linux-gnu\nx86, i386\n' \ - >"${datadir}/opkbuild/archtab/core-linux-eglibc" || \ - error 'Cannot write architecture data' - printf 'i686-unknown-linux-gnu\nx86, i386\n' \ - >"${datadir}/opkbuild/archtab/i686-linux-eglibc" || \ - error 'Cannot write architecture data' - printf 'i686-unknown-freebsd9.0\nx86, i386\n' \ - >"${datadir}/opkbuild/archtab/i686-kfreebsd-eglibc" || \ - error 'Cannot write architecture data' - printf 'arm-cortex_a8-linux-gnueabi\narm\n' \ - >"${datadir}/opkbuild/archtab/cortexa8-linux-eglibc" || \ - error 'Cannot write architecture data' - printf 'Done!\n' } -- cgit v0.9.1