/[baselayout]/branches/baselayout-1_12/tarball.sh
Gentoo

Diff of /branches/baselayout-1_12/tarball.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2176 Revision 2177
1#!/bin/bash 1#!/bin/bash
2export TMP="${TMP:-/tmp}" 2export TMP="${TMP:-/tmp}"
3export V="1.12.2" 3export V="1.12.3"
4export NAME="baselayout" 4export NAME="baselayout"
5export DEST="${TMP}/${NAME}-${V}" 5export DEST="${TMP}/${NAME}-${V}"
6 6
7if [[ $1 != "-f" ]] ; then 7if [[ $1 != "-f" ]] ; then
8 echo "Performing sanity checks (run with -f to skip) ..." 8 echo "Performing sanity checks (run with -f to skip) ..."
23for x in bin etc init.d sbin src rc-lists man ; do 23for x in bin etc init.d sbin src rc-lists man ; do
24 cp -ax $x ${DEST} 24 cp -ax $x ${DEST}
25done 25done
26 26
27# do not yet package src/core stuff 27# do not yet package src/core stuff
28#rm -rf ${DEST}/src/core 28rm -rf ${DEST}/src/core
29
30# Make clean
31(cd ${DEST}/src; make clean)
29 32
30# copy net-scripts and remove older stuff 33# copy net-scripts and remove older stuff
31install -d -m0755 ${DEST}/lib/rcscripts 34install -d -m0755 ${DEST}/lib/rcscripts
32cp -ax net-scripts/init.d ${DEST} 35cp -ax net-scripts/init.d ${DEST}
33cp -ax net-scripts/net ${DEST}/lib/rcscripts 36cp -ax net-scripts/net ${DEST}/lib/rcscripts

Legend:
Removed from v.2176  
changed lines
  Added in v.2177

  ViewVC Help
Powered by ViewVC 1.1.20