- Don't use /tmp, but use /var/tmp instead (/tmp might be memory swap,
authorFabian Groffen <grobian@gentoo.org>
Sat, 14 Oct 2006 14:41:34 +0000 (14:41 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 14 Oct 2006 14:41:34 +0000 (14:41 -0000)
  e.g. Solaris)
- Forget about permissions for now, we're unprivileged
- Some systems don't have libtoolize, but DO have glibtoolize

svn path=/main/branches/prefix/; revision=4690

autogen.sh
tarball.sh

index 627584fc497ce6e2ac2da4343009891d9e9b8952..c55d02a0762b821638668c07cb7784648e0e3982 100755 (executable)
@@ -2,6 +2,7 @@
 
 autoheader || { echo "failed autoheader"; exit 1; };
 aclocal-1.8 || { echo "failed aclocal"; exit 1; };
+[ "`type -t glibtoolize`" == "file" ] && alias libtoolize=glibtoolize
 libtoolize --automake -c -f || { echo "failed libtoolize"; exit 1; }
 autoconf || { echo "failed autoconf"; exit 1; }
 touch ChangeLog 
index 217231bf06d6913f96f2ff17f4093abba07c602a..894bf92e5cb461f0b8a863cfb005a44c02808467 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# $Id: /var/cvsroot/gentoo-src/portage/Attic/tarball.sh,v 1.181.2.2 2005/05/01 16:04:51 jstubbs Exp $
+# $Id: $
 
 if [ -z "$1" ]; then
        echo
@@ -10,7 +10,7 @@ if [ -z "$1" ]; then
 fi
 
 export PKG="prefix-portage"
-export TMP="/tmp"
+export TMP="/var/tmp"
 export V="$1"
 export DEST="${TMP}/${PKG}-${V}"
 export PREVEB="2.0.49_pre2"
@@ -41,7 +41,7 @@ find -name '.svn' -type d -exec rm -rf {} \;
 find -name '*~' -exec rm -rf {} \;
 find -name '*.pyc' -exec rm -rf {} \;
 find -name '*.pyo' -exec rm -rf {} \;
-chown -R root:0 ${DEST}
+#chown -R root:0 ${DEST}
 cd $TMP
 rm -f ${PKG}-${V}/bin/emerge.py ${PKG}-${V}/bin/{pmake,sandbox} ${PKG}-${V}/{bin,pym}/'.#'* ${PKG}-${V}/{bin,pym}/*.{orig,diff} ${PKG}-${V}/{bin,pym}/*.py[oc]
 cd $TMP/${PKG}-${V}