[Lunar-commits] CVS: theedge/var/lib/lunar/functions edit.lunar,
1.12, 1.13
Terry Chan
tchan at lunar-linux.org
Wed Feb 25 17:06:23 GMT 2004
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv21706
Modified Files:
edit.lunar
Log Message:
Reverting Ratler's changes to edit.lunar as they are totally wrong! Don't
mess with lunar core unless you check with sofar first!
Index: edit.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/edit.lunar,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- edit.lunar 25 Feb 2004 11:59:36 -0000 1.12
+++ edit.lunar 25 Feb 2004 17:06:21 -0000 1.13
@@ -18,15 +18,15 @@
patch_it () {
verbose_msg "patch_it \"$1\" \"$2\"";
- if [[ -n `echo $1 | grep "\.tar\$"` ]] ; then
+ if [[ -n `echo $1 | grep .tar` ]] ; then
TARCMD="tar x -O"
else
TARCMD="cat"
fi
- if [[ -n `echo $1 | grep "\.bz2\$"` ]] ; then
+ if [[ -n `echo $1 | grep .bz2` ]] ; then
GZCMD="bzcat"
- elif [[ -n `echo $1 | grep "\.gz\$"` ]] ; then
+ elif [[ -n `echo $1 | grep .gz` ]] ; then
GZCMD="zcat"
else
GZCMD="cat"
More information about the Lunar-commits
mailing list