diff options
author | Ian Lynagh <igloo@earth.li> | 2010-10-17 11:26:48 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-10-17 11:26:48 +0000 |
commit | d1fecad717e9cdf2da36147901acf0d7bbc9828c (patch) | |
tree | 6aaf9d0f008ce626dbda81b2dd1bf6ec51d40d14 /distrib | |
parent | f9302da84051f976a9eb4d0eed8f599c72253d65 (diff) | |
download | haskell-d1fecad717e9cdf2da36147901acf0d7bbc9828c.tar.gz |
Add more quoting to distrib/MacOS/installer-scripts/create-links
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/MacOS/installer-scripts/create-links | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/MacOS/installer-scripts/create-links b/distrib/MacOS/installer-scripts/create-links index 55a356c0fd..58bed8943b 100644 --- a/distrib/MacOS/installer-scripts/create-links +++ b/distrib/MacOS/installer-scripts/create-links @@ -13,17 +13,17 @@ # See apple "Install Operations" documentation for how this script is called. -INSTALL_DEST=$2 -INSTALL_BASE=$3 +INSTALL_DEST="$2" +INSTALL_BASE="$3" if [ "$INSTALL_BASE" = / ]; then INSTALL_BASE=/usr fi ProjectVersionInt=$(readlink "$INSTALL_DEST/GHC.framework/Versions/Current") -GHC_BASE=$INSTALL_DEST/GHC.framework/Versions/$ProjectVersionInt +GHC_BASE="$INSTALL_DEST/GHC.framework/Versions/$ProjectVersionInt" -INSTALL_BIN=$INSTALL_BASE/bin +INSTALL_BIN="$INSTALL_BASE/bin" mkdir -p "$INSTALL_BIN" if [ -d "$GHC_BASE/usr/bin" ]; then ln -sf "$GHC_BASE"/usr/bin/* "$INSTALL_BIN/" |