mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-11 17:35:25 +00:00
Merge pull request #2521 from foxmask/master
fix path for the install scripts
This commit is contained in:
commit
e52ee565f7
3 changed files with 9 additions and 9 deletions
|
@ -1,11 +1,11 @@
|
||||||
#! /usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# You can execute this file to install wallabag dev environment
|
# You can execute this file to install wallabag dev environment
|
||||||
# eg: `sh dev.sh`
|
# eg: `sh dev.sh`
|
||||||
|
|
||||||
COMPOSER_COMMAND='composer'
|
COMPOSER_COMMAND='composer'
|
||||||
|
|
||||||
DIR="${BASH_SOURCE%/*}"
|
DIR="${BASH_SOURCE}"
|
||||||
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
|
if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi
|
||||||
. "$DIR/require.sh"
|
. "$DIR/require.sh"
|
||||||
|
|
||||||
$COMPOSER_COMMAND install
|
$COMPOSER_COMMAND install
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#! /usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# You can execute this file to install wallabag
|
# You can execute this file to install wallabag
|
||||||
# eg: `sh install.sh prod`
|
# eg: `sh install.sh prod`
|
||||||
|
|
||||||
COMPOSER_COMMAND='composer'
|
COMPOSER_COMMAND='composer'
|
||||||
|
|
||||||
DIR="${BASH_SOURCE%/*}"
|
DIR="${BASH_SOURCE}"
|
||||||
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
|
if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi
|
||||||
. "$DIR/require.sh"
|
. "$DIR/require.sh"
|
||||||
|
|
||||||
ENV=$1
|
ENV=$1
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#! /usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# You can execute this file to update wallabag
|
# You can execute this file to update wallabag
|
||||||
# eg: `sh update.sh prod`
|
# eg: `sh update.sh prod`
|
||||||
|
|
||||||
COMPOSER_COMMAND='composer'
|
COMPOSER_COMMAND='composer'
|
||||||
|
|
||||||
DIR="${BASH_SOURCE%/*}"
|
DIR="${BASH_SOURCE}"
|
||||||
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
|
if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi
|
||||||
. "$DIR/require.sh"
|
. "$DIR/require.sh"
|
||||||
|
|
||||||
ENV=$1
|
ENV=$1
|
||||||
|
|
Loading…
Reference in a new issue