[csw-devel] SF.net SVN: gar:[9877] csw/mgar/pkg/TEMPLATES/createpkg/copy_template

theferret at users.sourceforge.net theferret at users.sourceforge.net
Sat May 15 00:22:04 CEST 2010


Revision: 9877
          http://gar.svn.sourceforge.net/gar/?rev=9877&view=rev
Author:   theferret
Date:     2010-05-14 22:22:04 +0000 (Fri, 14 May 2010)

Log Message:
-----------
minor prettiness tweak for svn syntax

Modified Paths:
--------------
    csw/mgar/pkg/TEMPLATES/createpkg/copy_template

Modified: csw/mgar/pkg/TEMPLATES/createpkg/copy_template
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/copy_template	2010-05-14 22:07:52 UTC (rev 9876)
+++ csw/mgar/pkg/TEMPLATES/createpkg/copy_template	2010-05-14 22:22:04 UTC (rev 9877)
@@ -27,7 +27,6 @@
 DESTDIR=$1/trunk
 
 
-mkdir -p $DESTDIR
 
 $SVN info >/dev/null
 if [[ $? -ne 0 ]] ; then
@@ -36,9 +35,7 @@
 	exit 1
 fi
 
-# Note that apparently you cannot "skip a directory". you must
-# add the highest-level directory first
-$SVN add $1 
+$SVN mkdir --parents $DESTDIR
 
 cp $template_dir/Makefile* $DESTDIR
 cp $template_dir/prototype* $DESTDIR


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