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

Unified Diff: chrome/tools/build/mac/keystone_install_test.sh

Issue 285002: Make the auto-update script really smart. It no longer replaces the versione... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/build/mac/keystone_install.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/build/mac/keystone_install_test.sh
===================================================================
--- chrome/tools/build/mac/keystone_install_test.sh (revision 29233)
+++ chrome/tools/build/mac/keystone_install_test.sh (working copy)
@@ -23,7 +23,7 @@
FWKNAME="${PRODNAME} Framework.framework"
# Temp directory to be used as the disk image (source)
-TEMPDIR=$(mktemp -d ${TMPDIR}/$(basename ${0}).XXXXXX)
+TEMPDIR=$(mktemp -d -t $(basename ${0}))
PATH=$PATH:"${TEMPDIR}"
# Clean up the temp directory
@@ -37,7 +37,7 @@
# Arg0: string to print
function fail_installer() {
echo $1
- "${INSTALLER}" "${TEMPDIR}" >/dev/null 2>&1
+ "${INSTALLER}" "${TEMPDIR}" >& /dev/null
RETURN=$?
if [ $RETURN -eq 0 ]; then
echo "Did not fail (which is a failure)" >& 2
@@ -52,7 +52,7 @@
# Arg0: string to print
function pass_installer() {
echo $1
- "${INSTALLER}" "${TEMPDIR}" >/dev/null 2>&1
+ "${INSTALLER}" "${TEMPDIR}" >& /dev/null
RETURN=$?
if [ $RETURN -ne 0 ]; then
echo "FAILED; returned $RETURN but should have worked" >& 2
@@ -72,7 +72,7 @@
defaults write "${DEST}/Contents/Info" KSVersion 0
cat >"${TEMPDIR}"/ksadmin <<EOF
#!/bin/sh
-echo "echo xc=<blah path=$DEST>"
+echo " xc=<KSPathExistenceChecker:0x45 path=${DEST}>"
exit 0
EOF
chmod u+x "${TEMPDIR}"/ksadmin
@@ -89,7 +89,7 @@
defaults write "${RSRCDIR}/Info" KSVersion 0
cat >"${TEMPDIR}"/ksadmin <<EOF
#!/bin/sh
-echo "echo xc=<blah path=$DEST>"
+echo " xc=<KSPathExistenceChecker:0x45 path=${DEST}>"
exit 0
EOF
chmod u+x "${TEMPDIR}"/ksadmin
« no previous file with comments | « chrome/tools/build/mac/keystone_install.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698