mirror of
https://github.com/fspc/gbootroot.git
synced 2026-09-11 14:21:38 -04:00
This removes any existing stuff under tmp/gbootroot in the specs if it
exists, which can creates nasties when a build fails at -bl, and removed modules/CVS filter from gbootroot_pkg which didn't effect 7.3 or Mandrake 9.0, but did effect 8.0, now have to check whether this is working properly on Debian again. Not sure why these directories were causing a problem to begin with.
This commit is contained in:
@@ -91,7 +91,10 @@ as mdk.
|
||||
%prep
|
||||
%setup -n gbootroot-%{version}
|
||||
#chown -R root:root .
|
||||
if [ ! -e /tmp/gbootroot ] ; then
|
||||
if [ -e /tmp/gbootroot ] ; then
|
||||
rm -rf /tmp/gbootroot;
|
||||
mkdir /tmp/gbootroot;
|
||||
elif [ ! -e /tmp/gbootroot ] ; then
|
||||
mkdir /tmp/gbootroot;
|
||||
fi;
|
||||
install -d $HOME/gbootroot/RPMS/i386
|
||||
|
||||
@@ -89,7 +89,10 @@ as mdk.
|
||||
%prep
|
||||
%setup -n gbootroot-%{version}
|
||||
#chown -R root:root .
|
||||
if [ ! -e /tmp/gbootroot ] ; then
|
||||
if [ -e /tmp/gbootroot ] ; then
|
||||
rm -rf /tmp/gbootroot;
|
||||
mkdir /tmp/gbootroot;
|
||||
elif [ ! -e /tmp/gbootroot ] ; then
|
||||
mkdir /tmp/gbootroot;
|
||||
fi;
|
||||
install -d $HOME/gbootroot/RPMS/i386
|
||||
|
||||
Reference in New Issue
Block a user