Fix install script
This commit is contained in:
parent
07317e19eb
commit
5589094034
BIN
scripts/.release.swp
Normal file
BIN
scripts/.release.swp
Normal file
Binary file not shown.
@ -2,7 +2,9 @@
|
||||
|
||||
set -xe
|
||||
|
||||
mkdir -p /usr/local/bin
|
||||
cp -f bin/musique /usr/local/bin
|
||||
chmod 755 /usr/local/bin/musique
|
||||
BINDIR=/usr/local/bin
|
||||
|
||||
mkdir -p "$BINDIR"
|
||||
cp -f bin/musique "$BINDIR"
|
||||
chmod 755 "$BINDIR"/musique
|
||||
echo "Musique installed."
|
||||
|
@ -21,7 +21,7 @@ echo "Copy bin/musique, examples, license and documentation"
|
||||
cp bin/musique "$Target"/
|
||||
cp LICENSE "$Target"/LICENSE
|
||||
cp -r examples "$Target"/examples
|
||||
sed "s/bin\/musique/musique/g" scripts/install > "$Target"/install.sh
|
||||
sed "s/bin\/musique/musique/" scripts/install > "$Target"/install.sh
|
||||
chmod 0755 "$Target"/install.sh
|
||||
|
||||
lowdown -s doc/overview.md -m "title:Omówienie języka Musique" -o "$Target"/overview.html
|
||||
|
Loading…
Reference in New Issue
Block a user