mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-10-02 15:22:29 +00:00
Fix issues with sed. Fix typo in github url.
This commit is contained in:
@@ -132,7 +132,7 @@ See [developer.gnome.org](https://developer.gnome.org/integration-guide/stable/b
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
[https://www.love2d.org](https://www.love2d.org)
|
[https://www.love2d.org](https://www.love2d.org)
|
||||||
[https://www.love2d.org/wiki/Game_Distribution](https://www.love2d.org/wiki/Game_Distribution)
|
[https://www.love2d.org/wiki/Game_Distribution](https://www.love2d.org/wiki/Game_Distribution)
|
||||||
[https://www.github.org/MisterDA/love-release](https://www.github.org/MisterDA/love-release)
|
[https://www.github.com/MisterDA/love-release](https://www.github.com/MisterDA/love-release)
|
||||||
|
|
||||||
### THANKS
|
### THANKS
|
||||||
The work done on Debian packaging is highly inspired by what [josefnpat](http://josefnpat.com/) did.
|
The work done on Debian packaging is highly inspired by what [josefnpat](http://josefnpat.com/) did.
|
||||||
|
@@ -13,8 +13,7 @@ MANPAGE_DIR=/usr/share/man/man1
|
|||||||
|
|
||||||
SED_ARG=$(echo "$INSTALL_DIR" | sed -e 's/[\/&]/\\&/g')
|
SED_ARG=$(echo "$INSTALL_DIR" | sed -e 's/[\/&]/\\&/g')
|
||||||
mkdir -p "$BINARY_DIR"
|
mkdir -p "$BINARY_DIR"
|
||||||
cp ./love-release.sh "$BINARY_DIR"/love-release
|
sed -e "s/INSTALL_DIR=/INSTALL_DIR=$SED_ARG/g" love-release.sh > "$BINARY_DIR"/love-release
|
||||||
sed -i -e "s/INSTALL_DIR=/INSTALL_DIR=$SED_ARG/g" "$BINARY_DIR"/love-release
|
|
||||||
|
|
||||||
mkdir -p "$INSTALL_DIR"
|
mkdir -p "$INSTALL_DIR"
|
||||||
cp ./README.md "$INSTALL_DIR"
|
cp ./README.md "$INSTALL_DIR"
|
||||||
@@ -23,8 +22,7 @@ cp -r ./scripts "$INSTALL_DIR"
|
|||||||
cp -r ./include "$INSTALL_DIR"
|
cp -r ./include "$INSTALL_DIR"
|
||||||
|
|
||||||
mkdir -p "$MANPAGE_DIR"
|
mkdir -p "$MANPAGE_DIR"
|
||||||
cp love-release.1 "$MANPAGE_DIR"/love-release.1
|
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
|
||||||
sed -i -e "s/scripts/$SED_ARG\/scripts/g" -e "s/config.ini/$SED_ARG\/config.ini/g" "$MANPAGE_DIR"/love-release.1
|
|
||||||
gzip -9 -f "$MANPAGE_DIR"/love-release.1
|
gzip -9 -f "$MANPAGE_DIR"/love-release.1
|
||||||
|
|
||||||
echo "Done !"
|
echo "Done !"
|
||||||
|
@@ -173,4 +173,4 @@ for more informations.
|
|||||||
.br
|
.br
|
||||||
.I https://www.love2d.org/wiki/Game_Distribution
|
.I https://www.love2d.org/wiki/Game_Distribution
|
||||||
.br
|
.br
|
||||||
.I https://www.github.org/MisterDA/love-release
|
.I https://www.github.com/MisterDA/love-release
|
||||||
|
Reference in New Issue
Block a user