mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
bin: Simplify cd to install dir
This commit is contained in:
parent
2f76066d95
commit
335705e03d
5 changed files with 5 additions and 30 deletions
|
@ -1,12 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Move to the folder where ep-lite is installed
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Was this script started in the bin folder? if yes move out
|
||||
if [ -d "../bin" ]; then
|
||||
cd "../"
|
||||
fi
|
||||
cd "$(dirname "$0")"/..
|
||||
|
||||
# Prepare the environment
|
||||
bin/installDeps.sh || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue