* [Bismark-commits] rev 316 - trunk/device/release
@ 2011-04-06 13:34 bismark
0 siblings, 0 replies; only message in thread
From: bismark @ 2011-04-06 13:34 UTC (permalink / raw)
To: bismark-commits
Author: bismark
Date: 2011-04-06 15:34:14 +0200 (Wed, 06 Apr 2011)
New Revision: 316
Modified:
trunk/device/release/update
Log:
release update mod (temporary)
Modified: trunk/device/release/update
===================================================================
--- trunk/device/release/update 2011-04-06 13:33:28 UTC (rev 315)
+++ trunk/device/release/update 2011-04-06 13:34:14 UTC (rev 316)
@@ -5,13 +5,24 @@
# author: walter.dedonato@unina.it
[ $1 ] || { echo "syntax: $(basename $0) <dist_arch>" ; exit ; }
-[ $(basename $(pwd)) == "release" ] || { echo "Script must be called from 'release' folder" ; exit ; }
+[ $(basename $(pwd)) == "release" ] || { echo "the script must be called from the 'release' folder" ; exit ; }
+[ -d "../$1" ] || { echo "error: unable to find $1 source path" ; exit ; }
+# Checkout release working copy if not present
+svn co svn://143.215.131.215/$1
+
# Copy device tree
tar -chf - --exclude ".svn" ../$1/ | tar -xvf -
+# For now the following is done manually
+# TODO: Should find a way to apply the diff from the main repository
+
+# Change pwd to target folder
+#cd $1
+
# Add to version control eventual new files
-svn add $1
+#new_files=$(svn status | awk '/^\?/{ print $2 }')
+#echo svn add $new_files
# Commit release update
-svn commit
+#svn commit $1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-06 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06 13:34 [Bismark-commits] rev 316 - trunk/device/release bismark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox