Move dist2netbsd script out of dist/ and adapt for new path.

This commit is contained in:
wiz 2012-05-07 08:55:46 +00:00
parent 4739fc03e4
commit 2d5eea808c

View File

@ -1,8 +1,8 @@
#! /bin/sh
#
# $NetBSD: bzip2netbsd,v 1.1 2012/05/07 00:30:05 wiz Exp $
# $NetBSD: bzip2netbsd,v 1.1 2012/05/07 08:55:46 wiz Exp $
#
# Copyright (c) 1998, 1999, 2001 The NetBSD Foundation, Inc.
# Copyright (c) 1998, 1999, 2001, 2012 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -27,7 +27,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#
# bzip2netbsd: convert a bzip2 source tree into a
# netbsd bzip2 source tree, under src/external/bsd,
# netbsd bzip2 source tree, under src/external/bsd/dist,
# based on the other *2netbsd scripts in the NetBSD source tree
#
# Rough instructions for importing new bzip2 release:
@ -35,9 +35,9 @@
# $ cd /some/where/temporary
# $ tar xpfz /new/bzip2/release/tar/file
# $ sh /usr/src/external/bsd/bzip2/bzip2netbsd bzip2-1.x.y `pwd`
# $ cd src/external/bsd/bzip2
# $ cvs import -m "Import bzip2 1.x.y" src/external/bsd/bzip2 JSEWARD bzip2-1-x-y
# $ cd ../../..
# $ cd src/external/bsd/bzip2/dist
# $ cvs import -m "Import bzip2 1.x.y" src/external/bsd/bzip2/dist JSEWARD bzip2-1-x-y
# $ cd ../../../../..
# $ rm -r src bzip2-1.x.y
#
# - check makefiles to see if any extra sources have been added.
@ -46,7 +46,7 @@
if [ $# -ne 2 ]; then echo "bzip2netbsd src dest"; exit 1; fi
r=$1
d=$2/src/external/bsd/bzip2
d=$2/src/external/bsd/bzip2/dist
case "$d" in
/*)