mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-binutils.git
synced 2025-01-05 08:23:37 +01:00
quote paths that may contain spaces
This commit is contained in:
parent
11fc5fc354
commit
613ac08a84
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
source util.sh
|
||||
PREFIX=$1
|
||||
PREFIX="$1"
|
||||
|
||||
cd build
|
||||
echo "$TAG Installing to local folder..."
|
||||
|
@ -12,7 +12,7 @@ cd ..
|
|||
# Symbolic link executables to $PREFIX/bin
|
||||
echo "$TAG Symlinking binaries..."
|
||||
for x in bin/*; do
|
||||
ln -s $(pwd)/$x $PREFIX/$x
|
||||
ln -s "$(pwd)/$x" "$PREFIX/$x"
|
||||
done
|
||||
|
||||
# Cleanup build files
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
source util.sh
|
||||
PREFIX=$1
|
||||
PREFIX="$1"
|
||||
|
||||
# Remove symlinks
|
||||
echo "$TAG Removing symlinks to binaries..."
|
||||
for x in bin/*; do
|
||||
rm $PREFIX/$x
|
||||
rm "$PREFIX/$x"
|
||||
done
|
||||
|
||||
# Remove local files
|
||||
|
|
Loading…
Reference in a new issue