From 7c1ea231f2918ff84d36ecf1dfb7a39115e2923c Mon Sep 17 00:00:00 2001 From: Boris Schrijver Date: Sat, 12 Dec 2015 18:35:48 +0100 Subject: [PATCH] CLOUDSTACK-9152: Remove unused folder(s)/file(s); utils/bindir --- utils/bindir/cloud-gitrevs.in | 29 ----------------------------- utils/bindir/cloud-sccs.in | 29 ----------------------------- 2 files changed, 58 deletions(-) delete mode 100644 utils/bindir/cloud-gitrevs.in delete mode 100755 utils/bindir/cloud-sccs.in diff --git a/utils/bindir/cloud-gitrevs.in b/utils/bindir/cloud-gitrevs.in deleted file mode 100644 index 2f9a5e98b84c..000000000000 --- a/utils/bindir/cloud-gitrevs.in +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -import os, sys - -path = os.path.join("@DOCDIR@","sccs-info") -try: text = file(path).read(-1) -except IOError,e: - if e.errno == 2: - sys.stderr.write("error: SCCS info file %r cannot be found\n"%path) - sys.exit(1) - else: raise -lines = [ s.strip() for s in text.split("\n") if s.startswith('Git Revision: ') ] -print " ".join( [ s[14:] for s in lines ] ) diff --git a/utils/bindir/cloud-sccs.in b/utils/bindir/cloud-sccs.in deleted file mode 100755 index a18f36017b7d..000000000000 --- a/utils/bindir/cloud-sccs.in +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - - -import os, sys - -path = os.path.join("@DOCDIR@","sccs-info") -try: text = file(path).read(-1) -except IOError,e: - if e.errno == 2: - sys.stderr.write("error: SCCS info file %r cannot be found\n"%path) - sys.exit(1) - else: raise -print text