summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-libgcc-0.1.sh
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-03 12:13:53 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-03 12:13:53 +0000
commit4a5d68a47ecbc3add0d2d6b5785c31d0acace58d (patch)
treeb99d9e8cc227b0f158823dcdb646352626d9b3aa /encap/src/encap-profiles/bcfg2-libgcc-0.1.sh
parent2c31bf62cb9c67ab798c6730b149d4396934e27d (diff)
downloadbcfg2-4a5d68a47ecbc3add0d2d6b5785c31d0acace58d.tar.gz
bcfg2-4a5d68a47ecbc3add0d2d6b5785c31d0acace58d.tar.bz2
bcfg2-4a5d68a47ecbc3add0d2d6b5785c31d0acace58d.zip
EncapPackages: Merging changes from branches/private/dclark/encap-0.8.5.
Major change is removal of dependancies on libgcc, libstdc++, gettext, and libiconv. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2368 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-libgcc-0.1.sh')
-rwxr-xr-xencap/src/encap-profiles/bcfg2-libgcc-0.1.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/encap/src/encap-profiles/bcfg2-libgcc-0.1.sh b/encap/src/encap-profiles/bcfg2-libgcc-0.1.sh
deleted file mode 100755
index d6de6c471..000000000
--- a/encap/src/encap-profiles/bcfg2-libgcc-0.1.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-# $Id$
-
-# Creates encap of libgcc libraries from build machine so other machines
-# don't need to have gcc installed, or in the case of GNU/Linux so we're
-# using a consistant libgcc version everywhere.
-
-ENCAP_SOURCE=${ENCAPDIR}
-ENCAP_PKGNAME=bcfg2-libgcc-0.1
-PATH=$PATH:/usr/local/bin
-export PATH
-
-if [ "${ENCAP_SOURCE}x" = "x" ]; then
- printf "Error in ${ENCAP_PKGNAME}.sh : ENCAPDIR not set, exiting...\n"
- exit 1
-fi
-
-umask 022
-
-CXXBASE=`which gcc | xargs dirname | xargs dirname`
-for LIB in `cd ${CXXBASE} && find lib | grep libgcc`; do
- cd ${CXXBASE}
- LIBDIR=`dirname ${LIB}`
- NEWDIR=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/${LIBDIR}
- if [ ! -d ${NEWDIR} ]; then mkdir -p ${NEWDIR}; fi
- cp -p ${LIB} ${NEWDIR}
-done
-
-SDIR=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/var/encap
-mkdir -p ${SDIR}
-touch ${SDIR}/${ENCAP_PKGNAME}
-
-exit 0
-