[csw-devel] SF.net SVN: gar:[9870] csw/mgar/pkg/TEMPLATES/createpkg/copy_template
theferret at users.sourceforge.net
theferret at users.sourceforge.net
Fri May 14 23:51:24 CEST 2010
Revision: 9870
http://gar.svn.sourceforge.net/gar/?rev=9870&view=rev
Author: theferret
Date: 2010-05-14 21:51:24 +0000 (Fri, 14 May 2010)
Log Message:
-----------
fixed bug
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 21:13:47 UTC (rev 9869)
+++ csw/mgar/pkg/TEMPLATES/createpkg/copy_template 2010-05-14 21:51:24 UTC (rev 9870)
@@ -4,7 +4,7 @@
# the top level. Or basically, whereever you want the template stuff
# to be copied INTO.
-SVN="echo FAKEsvn "
+#SVN="echo FAKEsvn "
SVN="svn"
function usage {
@@ -36,7 +36,10 @@
exit 1
fi
-$SVN add $DESTDIR
+# Note that apparently you cannot "skip a directory". you must
+# add the highest-level directory first
+$SVN add $1
+
cp $template_dir/Makefile* $DESTDIR
cp $template_dir/prototype* $DESTDIR
$template_dir/generate_pkginfo >$DESTDIR/pkginfo
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