The following commit has been merged in the master branch:
commit 6c0bf8ad105d84861b59790394b50ed253192a53
Author: M. Hamish Bowman <hamis...@yahoo.com>
Date:   Sat Feb 25 15:13:56 2012 +1300

    +comment about a better way to edit inplace

diff --git a/debian/fixpaths.sh b/debian/fixpaths.sh
index 0463ed1..b794362 100755
--- a/debian/fixpaths.sh
+++ b/debian/fixpaths.sh
@@ -12,6 +12,7 @@ echo " in $TMPPATH"
 
 for i in `grep -r $ZOTPATH $TMPPATH | cut -d : -f 1 | sort -u` ; do
     echo -n "Grr. Zotting $i ... "
+    # why not use 'sed -i' here?
     cp $i $i.old
     sed -e s,$ZOTPATH,,g $i.old >$i
     rm -f $i.old

-- 
Geographic Resources Analysis Support System

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to