From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-11-ewr.dyndns.com (mxout-074-ewr.mailhop.org [216.146.33.74]) by lists.bufferbloat.net (Postfix) with ESMTP id 8AC1E2E0532 for ; Wed, 6 Apr 2011 06:30:56 -0700 (PDT) Received: from scan-11-ewr.mailhop.org (scan-11-ewr.local [10.0.141.229]) by mail-11-ewr.dyndns.com (Postfix) with ESMTP id 83BFA931875 for ; Wed, 6 Apr 2011 13:30:55 +0000 (UTC) X-Spam-Score: 0.1 () X-Mail-Handler: MailHop by DynDNS X-Originating-IP: 143.225.229.147 Received: from svn.comics.unina.it (unknown [143.225.229.147]) by mail-11-ewr.dyndns.com (Postfix) with ESMTP id 1B346931853 for ; Wed, 6 Apr 2011 13:30:55 +0000 (UTC) Received: from www-data by svn.comics.unina.it with local (Exim 4.69) (envelope-from ) id 1Q7SsA-0007bd-R8 for bismark-commits@lists.bufferbloat.net; Wed, 06 Apr 2011 15:34:14 +0200 To: bismark-commits@lists.bufferbloat.net From: bismark@svn.comics.unina.it Message-Id: Date: Wed, 06 Apr 2011 15:34:14 +0200 Subject: [Bismark-commits] rev 316 - trunk/device/release X-BeenThere: bismark-commits@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 13:30:56 -0000 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) " ; 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