Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: ports/emacs/build.sh

Issue 1405293003: Use cp -a instead of cp -ar. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ports/vim/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 OS_JOBS=1 5 OS_JOBS=1
6 6
7 export RUNPROGRAM="${NACL_SDK_ROOT}/tools/sel_ldr.py" 7 export RUNPROGRAM="${NACL_SDK_ROOT}/tools/sel_ldr.py"
8 8
9 EXTRA_CONFIGURE_ARGS+=" --prefix=/usr --exec-prefix=/usr" 9 EXTRA_CONFIGURE_ARGS+=" --prefix=/usr --exec-prefix=/usr"
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 if [ ${EMACS_X:-0} = 1 ]; then 92 if [ ${EMACS_X:-0} = 1 ]; then
93 EMACS_NAME="EmacsXWindows" 93 EMACS_NAME="EmacsXWindows"
94 else 94 else
95 EMACS_NAME="Emacs" 95 EMACS_NAME="Emacs"
96 fi 96 fi
97 97
98 # Copy all installed files into tarball 98 # Copy all installed files into tarball
99 MakeDir ${ASSEMBLY_DIR}/emacstar/usr 99 MakeDir ${ASSEMBLY_DIR}/emacstar/usr
100 ChangeDir ${ASSEMBLY_DIR}/emacstar 100 ChangeDir ${ASSEMBLY_DIR}/emacstar
101 LogExecute cp -ar ${DESTDIR}${PREFIX}/* ./usr 101 LogExecute cp -a ${DESTDIR}${PREFIX}/* ./usr
102 LogExecute cp usr/bin/emacs${NACL_EXEEXT} \ 102 LogExecute cp usr/bin/emacs${NACL_EXEEXT} \
103 ../emacs_${NACL_ARCH}${NACL_EXEEXT} 103 ../emacs_${NACL_ARCH}${NACL_EXEEXT}
104 rm -rf usr/bin 104 rm -rf usr/bin
105 rm -rf usr/share/man 105 rm -rf usr/share/man
106 find . -iname "*.nexe" -delete 106 find . -iname "*.nexe" -delete
107 mkdir -p ${ASSEMBLY_DIR}/emacstar/home/user/.emacs.d 107 mkdir -p ${ASSEMBLY_DIR}/emacstar/home/user/.emacs.d
108 tar cf ${ASSEMBLY_DIR}/emacs.tar . 108 tar cf ${ASSEMBLY_DIR}/emacs.tar .
109 rm -rf ${ASSEMBLY_DIR}/emacstar 109 rm -rf ${ASSEMBLY_DIR}/emacstar
110 shasum ${ASSEMBLY_DIR}/emacs.tar > ${ASSEMBLY_DIR}/emacs.tar.hash 110 shasum ${ASSEMBLY_DIR}/emacs.tar > ${ASSEMBLY_DIR}/emacs.tar.hash
111 cd ${ASSEMBLY_DIR} 111 cd ${ASSEMBLY_DIR}
(...skipping 24 matching lines...) Expand all
136 fi 136 fi
137 LogExecute cp ${XORG_DIR}/*.tar ${ASSEMBLY_DIR}/ 137 LogExecute cp ${XORG_DIR}/*.tar ${ASSEMBLY_DIR}/
138 LogExecute cp ${XORG_DIR}/*.js ${ASSEMBLY_DIR}/ 138 LogExecute cp ${XORG_DIR}/*.js ${ASSEMBLY_DIR}/
139 LogExecute cp ${XORG_DIR}/*.html ${ASSEMBLY_DIR}/ 139 LogExecute cp ${XORG_DIR}/*.html ${ASSEMBLY_DIR}/
140 140
141 LogExecute cp ${START_DIR}/../emacs-x/Xsdl.js ${ASSEMBLY_DIR}/ 141 LogExecute cp ${START_DIR}/../emacs-x/Xsdl.js ${ASSEMBLY_DIR}/
142 fi 142 fi
143 ChangeDir ${PUBLISH_DIR} 143 ChangeDir ${PUBLISH_DIR}
144 CreateWebStoreZip emacs-${VERSION}.zip emacs 144 CreateWebStoreZip emacs-${VERSION}.zip emacs
145 } 145 }
OLDNEW
« no previous file with comments | « no previous file | ports/vim/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698