Revision: 11020
Author: [email protected]
Date: Tue Mar 13 04:01:28 2012
Log: Fix DEPS file patching in push-to-trunk.sh
[email protected]
Review URL: https://chromiumcodereview.appspot.com/9693037
http://code.google.com/p/v8/source/detail?r=11020
Modified:
/branches/bleeding_edge/tools/push-to-trunk.sh
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk.sh Fri Mar 9 02:16:00 2012
+++ /branches/bleeding_edge/tools/push-to-trunk.sh Tue Mar 13 04:01:28 2012
@@ -332,6 +332,9 @@
# Check for a clean workdir.
[[ -z "$(git status -s -uno)" ]] \
|| die "Workspace is not clean. Please commit or undo your changes."
+ # Assert that the DEPS file is there.
+ [[ -w "DEPS" ]] || die "DEPS file not present or not writable; \
+current directory is: $(pwd)."
fi
let CURRENT_STEP+=1
@@ -348,7 +351,7 @@
if [ $START_STEP -le $CURRENT_STEP ] ; then
echo ">>> Step $CURRENT_STEP: Create and upload CL."
# Patch DEPS file.
- sed -e "/\"v8_revision\": /s/\"[0-9]+\"/\"$TRUNK_REVISION\"/" \
+ sed -r -e "/\"v8_revision\": /s/\"[0-9]+\"/\"$TRUNK_REVISION\"/" \
-i DEPS
restore_version_if_unset
echo -n "Please enter the email address of a reviewer for the roll
CL: "
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev