[csw-devel] SF.net SVN: gar:[18529] csw/mgar/pkg/cswclassutils/trunk/files/ CSWcswclassutils.r.cswtexhash
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Tue Jun 26 09:40:28 CEST 2012
Revision: 18529
http://gar.svn.sourceforge.net/gar/?rev=18529&view=rev
Author: pfelecan
Date: 2012-06-26 07:40:28 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
discriminate files and directories on removal
Modified Paths:
--------------
csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash
Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash 2012-06-26 07:13:08 UTC (rev 18528)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswtexhash 2012-06-26 07:40:28 UTC (rev 18529)
@@ -12,7 +12,11 @@
while read dest; do
echo $dest
- rm -f $dest
+ if [ -d $dest ]; then
+ rmdir $dest
+ else
+ rm -f $dest
+ fi
done
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list