[Lunar-commits] CVS: moonbase/kernel/linux-2.4 PRE_BUILD,1.2,1.3
Auke Kok
sofar at lunar-linux.org
Fri Jan 28 17:42:09 UTC 2005
Update of /var/cvs/lunar/moonbase/kernel/linux-2.4
In directory espresso.foo-projects.org:/tmp/cvs-serv1805/linux-2.4
Modified Files:
PRE_BUILD
Log Message:
This is a bit more consistent, and understandable
Index: PRE_BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-2.4/PRE_BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- PRE_BUILD 28 Dec 2004 10:33:29 -0000 1.2
+++ PRE_BUILD 28 Jan 2005 17:42:07 -0000 1.3
@@ -16,12 +16,11 @@
ln -s $SOURCE_DIRECTORY /usr/src/linux
cd $SOURCE_DIRECTORY
-# Yes, this is a workaround. Blame tar. Or sofar.
-
-if ! [ `lvu installed tar` == 1.15.1 ]; then
- tar jxf $SOURCE_CACHE/$SOURCE --no-same-owner --no-same-permissions --strip-path=1
+# Yes, this is a workaround. Blame tar.
+if [ "$(installed_version tar)" == "1.15.1" ]; then
+ tar jxf $SOURCE_CACHE/$SOURCE --no-same-owner --no-same-permissions --strip-components=1
else
- tar xf $SOURCE_CACHE/$SOURCE --no-same-owner --no-same-permissions --strip-components=1
+ tar jxf $SOURCE_CACHE/$SOURCE --no-same-owner --no-same-permissions --strip-path=1
fi
if [ -f $CONFIG_CACHE/.config ]; then
More information about the Lunar-commits
mailing list