| OLD | NEW | 
|   1 #!/bin/bash |   1 #!/bin/bash | 
|   2  |   2  | 
|   3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |   3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 
|   4 # Use of this source code is governed by a BSD-style license that can be |   4 # Use of this source code is governed by a BSD-style license that can be | 
|   5 # found in the LICENSE file. |   5 # found in the LICENSE file. | 
|   6  |   6  | 
|   7 # This script expects the following environment variables to be set.  Xcode |   7 # This script expects the following environment variables to be set.  Xcode | 
|   8 # normally sets them: |   8 # normally sets them: | 
|   9 # |   9 # | 
|  10 # CONFIGURATION - Release or Debug; this script only operates when Release. |  10 # CONFIGURATION - Release or Debug; this script only operates when Release. | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  78  |  78  | 
|  79   # Push the .dSYM bundle onto the DSYMS array so that it will be included in |  79   # Push the .dSYM bundle onto the DSYMS array so that it will be included in | 
|  80   # the .dSYM archive if a new one is needed |  80   # the .dSYM archive if a new one is needed | 
|  81   DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" |  81   DSYMS[${#DSYMS[@]}]="${DSYM_NAME}" | 
|  82 done |  82 done | 
|  83  |  83  | 
|  84 # Create the archive of .dSYM bundles. |  84 # Create the archive of .dSYM bundles. | 
|  85 if [ ! -e "${DSYM_TAR_PATH}" ] ; then |  85 if [ ! -e "${DSYM_TAR_PATH}" ] ; then | 
|  86   # Change directory so that absolute paths aren't included in the archive. |  86   # Change directory so that absolute paths aren't included in the archive. | 
|  87   (cd "${BUILT_PRODUCTS_DIR}" && |  87   (cd "${BUILT_PRODUCTS_DIR}" && | 
|  88    tar --owner 0 --group 0 -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") |  88    tar -jcf "${DSYM_TAR_PATH}" "${DSYMS[@]}") | 
|  89 fi |  89 fi | 
| OLD | NEW |