summaryrefslogtreecommitdiff
path: root/src/pkg/os/signal/mkunix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/signal/mkunix.sh')
-rwxr-xr-xsrc/pkg/os/signal/mkunix.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/pkg/os/signal/mkunix.sh b/src/pkg/os/signal/mkunix.sh
deleted file mode 100755
index 653b01664..000000000
--- a/src/pkg/os/signal/mkunix.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-# Copyright 2010 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-echo '// ./mkunix.sh' "$1"
-echo '// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT'
-echo
-
-cat <<EOH
-package signal
-
-import (
- "syscall"
-)
-
-var _ = syscall.Syscall // in case there are zero signals
-
-const (
-EOH
-
-sed -n 's/^[ ]*\(SIG[A-Z0-9][A-Z0-9]*\)[ ].*/ \1 = UnixSignal(syscall.\1)/p' "$1"
-
-echo ")"