mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 02:52:20 +00:00
Bug fixes
- when arguments containing spaces where passed, following options would be ignored - love-release was not marked as executable - fix typos
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
### INSTALLATION
|
||||
Clone and run as root `install.sh`, or edit `install.sh` to choose
|
||||
locations in user-space.
|
||||
Close and reopen your terminal to make completion available, or execute
|
||||
Close and reopen your terminal to make completion available, or execute :
|
||||
`. /etc/bash_completion.d/love-release`
|
||||
|
||||
### SYNOPSIS
|
||||
|
@@ -15,6 +15,7 @@ COMPLETION_DIR=/etc/bash_completion.d
|
||||
SED_ARG=$(echo "$INSTALL_DIR" | sed -e 's/[\/&]/\\&/g')
|
||||
mkdir -p "$BINARY_DIR"
|
||||
sed -e "s/INSTALL_DIR=/INSTALL_DIR=$SED_ARG/g" love-release.sh > "$BINARY_DIR"/love-release
|
||||
chmod +x "$BINARY_DIR"/love-release
|
||||
|
||||
mkdir -p "$INSTALL_DIR"
|
||||
cp ./README.md "$INSTALL_DIR"
|
||||
@@ -26,7 +27,7 @@ mkdir -p "$MANPAGE_DIR"
|
||||
sed -e "s/scripts/$SED_ARG\/scripts/g" -e "s/config.ini/$SED_ARG\/config.ini/g" love-release.1 > "$MANPAGE_DIR"/love-release.1
|
||||
gzip -9 -f "$MANPAGE_DIR"/love-release.1
|
||||
|
||||
mkdir -p "COMPLETION_DIR"
|
||||
mkdir -p "$COMPLETION_DIR"
|
||||
cp ./completion.sh "$COMPLETION_DIR"/love-release
|
||||
|
||||
echo "Done !"
|
||||
|
@@ -196,7 +196,7 @@ do
|
||||
PROJECT_FILES="$PROJECT_FILES $file"
|
||||
done
|
||||
|
||||
set -- ${ARGS[@]}
|
||||
set -- "${ARGS[@]}"
|
||||
unset OPTIND
|
||||
unset OPTOFS
|
||||
|
||||
|
Reference in New Issue
Block a user