gdb2netbsd (034641ab) gdb2netbsd (f72a8c67)
1#! /bin/sh
2#
1#! /bin/sh
2#
3# $NetBSD: gdb2netbsd,v 1.2 2011/10/08 19:28:40 christos Exp $
3# $NetBSD: gdb2netbsd,v 1.3 2020/09/15 02:05:15 christos Exp $
4#
5# Copyright (c) 2011 The NetBSD Foundation, Inc.
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions
10# are met:
11# 1. Redistributions of source code must retain the above copyright

--- 26 unchanged lines hidden (view full) ---

38then
39 echo "Usage: $PROG <directory>" 1>&2
40 exit 1
41fi
42FILE="$1"
43
44### Remove the $'s around RCS tags
45cleantags "$FILE"
4#
5# Copyright (c) 2011 The NetBSD Foundation, Inc.
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions
10# are met:
11# 1. Redistributions of source code must retain the above copyright

--- 26 unchanged lines hidden (view full) ---

38then
39 echo "Usage: $PROG <directory>" 1>&2
40 exit 1
41fi
42FILE="$1"
43
44### Remove the $'s around RCS tags
45cleantags "$FILE"
46find "$1" -name .git\* -exec rm -fr {} +
46
47echo You can import now. Use the following command:
48echo cvs import src/external/gpl3/gdb/dist FSF gdb-X-Y-Z
49
50exit 0
47
48echo You can import now. Use the following command:
49echo cvs import src/external/gpl3/gdb/dist FSF gdb-X-Y-Z
50
51exit 0