mirror of
https://github.com/whyour/qinglong.git
synced 2026-01-28 02:58:21 +08:00
Add ql.sh script and create symlinks in docker-entrypoint.sh
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
parent
4c2a8e2b24
commit
9bd8318371
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
|
|
||||||
|
# Create bin directory and symlinks for ql and task commands
|
||||||
|
mkdir -p "$HOME/bin"
|
||||||
|
ln -sf /ql/shell/ql.sh "$HOME/bin/ql"
|
||||||
|
ln -sf /ql/shell/task.sh "$HOME/bin/task"
|
||||||
|
|
||||||
dir_shell=/ql/shell
|
dir_shell=/ql/shell
|
||||||
. $dir_shell/share.sh
|
. $dir_shell/share.sh
|
||||||
|
|
||||||
|
|
|
||||||
4
shell/ql.sh
Executable file
4
shell/ql.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
dir_shell=$QL_DIR/shell
|
||||||
|
. $dir_shell/update.sh "$@"
|
||||||
Loading…
Reference in New Issue
Block a user