Done both.

+fatal() {
+  echo "$1"
+  exit 1;
+}
+
+pwd | grep 'libsanitizer$' || \
+  fatal "Run this script from libsanitizer dir"


+rm -rf upstream





On Wed, Nov 21, 2012 at 10:49 PM, Xinliang David Li <davi...@google.com> wrote:
> Suggestions:
>
> 1) make sure current local dir is libsanitizer -- exit if it is not
> 2) clean up the upstream directory after the merge is done.
>
> David
>
>
> On Wed, Nov 21, 2012 at 10:25 AM, Kostya Serebryany <k...@google.com> wrote:
>> Hi,
>>
>> A dummy script to help merging asan from upstream.
>> Not 100% complete, but should be enough to complete the current merge.
>>
>> You suggestions on how to improve it (or how to do w/o it) are welcome,
>> but I really wish to do the first merge tomorrow to unblock other folks.
>>
>> Thanks,
>> --kcc

Attachment: merge.patch
Description: Binary data

Reply via email to