summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtestsetup.sh22
1 files changed, 0 insertions, 22 deletions
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 <http://www.gnu.org/licenses/>.
-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'
}