Use relative path for home in shell scripts
This commit is contained in:
parent
a4c73881b4
commit
d48b065a2d
1 changed files with 5 additions and 4 deletions
|
@ -318,7 +318,7 @@ write_files:
|
|||
content: |
|
||||
#!/bin/bash
|
||||
# Clone the SLIME repository for a specific branch and depth
|
||||
git clone --depth 1 --branch v2.28 https://github.com/slime/slime.git /home/cl/slime
|
||||
git clone --depth 1 --branch v2.28 https://github.com/slime/slime.git ~/slime
|
||||
|
||||
- path: /home/cl/setup_user_all.sh
|
||||
owner: 'cl:cl'
|
||||
|
@ -487,7 +487,7 @@ write_files:
|
|||
# Exit on error
|
||||
set -e
|
||||
sudo apt update
|
||||
sudo apt install -y libzstd-dev
|
||||
sudo apt install -y sbcl git libzstd-dev
|
||||
# Download SBCL source
|
||||
# wget http://prdownloads.sourceforge.net/sbcl/sbcl-2.3.10-source.tar.bz2
|
||||
# Extract it
|
||||
|
@ -510,9 +510,10 @@ write_files:
|
|||
#!/bin/bash
|
||||
# Needs to be run manually, cant be run automatically.
|
||||
# If runs automatically, `quicklisp.lisp' cant be find by sbcl.
|
||||
curl https://beta.quicklisp.org/quicklisp.lisp -o /home/cl/quicklisp.lisp && chown cl:cl /home/cl/quicklisp.lisp
|
||||
sudo apt install -y libev4 libsqlite3-dev
|
||||
curl https://beta.quicklisp.org/quicklisp.lisp -o ~/quicklisp.lisp
|
||||
sbcl --noinform --load quicklisp.lisp --eval '(quicklisp-quickstart:install)' --non-interactive
|
||||
curl https://git.sr.ht/~marcuskammer/cloudinit/blob/main/.sbclrc -o /home/cl/.sbclrc && chown cl:cl /home/cl/.sbclrc
|
||||
curl https://git.sr.ht/~marcuskammer/cloudinit/blob/main/.sbclrc -o ~/.sbclrc
|
||||
sbcl --noinform --eval "(ql:quickload '(:hunchentoot :cl-yaml :cl-json :jonathan :spinneret :dexador :rove :vecto :woo :clsql-sqlite3 :mito :bknr.datastore :cl-project))" --non-interactive
|
||||
|
||||
- path: /home/cl/lisp_03_load_swank_faster.lisp
|
||||
|
|
Loading…
Add table
Reference in a new issue