[Yt-svn] yt-commit r1318 - branches/yt-1.5/doc trunk/doc
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Wed Jun 3 06:20:54 PDT 2009
Author: mturk
Date: Wed Jun 3 06:20:53 2009
New Revision: 1318
URL: http://yt.spacepope.org/changeset/1318
Log:
Added a bash variable stripper to ensure we have no spaces in the new directory
name
Modified:
branches/yt-1.5/doc/install_script.sh
branches/yt-1.5/doc/install_script_osx.sh
trunk/doc/install_script.sh
trunk/doc/install_script_osx.sh
Modified: branches/yt-1.5/doc/install_script.sh
==============================================================================
--- branches/yt-1.5/doc/install_script.sh (original)
+++ branches/yt-1.5/doc/install_script.sh Wed Jun 3 06:20:53 2009
@@ -15,7 +15,8 @@
# And, feel free to drop me a line: matthewturk at gmail.com
#
-DEST_DIR="`pwd`/yt-`uname -p`" # Installation location
+DEST_SUFFIX="yt-`uname -p`"
+DEST_DIR="`pwd`/${DEST_SUFFIX/ /}" # Installation location
# Here's where you put the HDF5 path if you like; otherwise it'll download it
# and install it on its own
Modified: branches/yt-1.5/doc/install_script_osx.sh
==============================================================================
--- branches/yt-1.5/doc/install_script_osx.sh (original)
+++ branches/yt-1.5/doc/install_script_osx.sh Wed Jun 3 06:20:53 2009
@@ -15,7 +15,8 @@
# And, feel free to drop me a line: matthewturk at gmail.com
#
-DEST_DIR="`pwd`/yt-`uname -p`" # Installation location
+DEST_SUFFIX="yt-`uname -p`"
+DEST_DIR="`pwd`/${DEST_SUFFIX/ /}" # Installation location
PY_DIR="/Library/Frameworks/Python.framework/Versions/Current/"
# Here's where you put the HDF5 path if you like; otherwise it'll download it
Modified: trunk/doc/install_script.sh
==============================================================================
--- trunk/doc/install_script.sh (original)
+++ trunk/doc/install_script.sh Wed Jun 3 06:20:53 2009
@@ -15,7 +15,8 @@
# And, feel free to drop me a line: matthewturk at gmail.com
#
-DEST_DIR="`pwd`/yt-`uname -p`" # Installation location
+DEST_SUFFIX="yt-`uname -p`"
+DEST_DIR="`pwd`/${DEST_SUFFIX/ /}" # Installation location
# Here's where you put the HDF5 path if you like; otherwise it'll download it
# and install it on its own
Modified: trunk/doc/install_script_osx.sh
==============================================================================
--- trunk/doc/install_script_osx.sh (original)
+++ trunk/doc/install_script_osx.sh Wed Jun 3 06:20:53 2009
@@ -15,7 +15,8 @@
# And, feel free to drop me a line: matthewturk at gmail.com
#
-DEST_DIR="`pwd`/yt-`uname -p`" # Installation location
+DEST_SUFFIX="yt-`uname -p`"
+DEST_DIR="`pwd`/${DEST_SUFFIX/ /}" # Installation location
PY_DIR="/Library/Frameworks/Python.framework/Versions/Current/"
# Here's where you put the HDF5 path if you like; otherwise it'll download it
More information about the yt-svn
mailing list