Fix popd noise
parent
438c9ec933
commit
5742077a93
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pushd () {
|
||||||
|
command pushd "$@" > /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
popd () {
|
||||||
|
command popd "$@" > /dev/null
|
||||||
|
}
|
|
@ -13,6 +13,8 @@ COMPOSE_FILE_COMMAND+=("--project-name" "$PROJECT")
|
||||||
# Where is this script? It could be called from anywhere, so use this to get full paths.
|
# Where is this script? It could be called from anywhere, so use this to get full paths.
|
||||||
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
|
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
|
||||||
|
|
||||||
|
source "$SCRIPTPATH/../_common/functions.sh"
|
||||||
|
|
||||||
while getopts n:h o; do
|
while getopts n:h o; do
|
||||||
case "$o" in
|
case "$o" in
|
||||||
n)
|
n)
|
||||||
|
|
|
@ -13,6 +13,8 @@ COMPOSE_FILE_COMMAND+=("--project-name" "$PROJECT")
|
||||||
# Where is this script? It could be called from anywhere, so use this to get full paths.
|
# Where is this script? It could be called from anywhere, so use this to get full paths.
|
||||||
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
|
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
|
||||||
|
|
||||||
|
source "$SCRIPTPATH/../_common/functions.sh"
|
||||||
|
|
||||||
while getopts n:h o; do
|
while getopts n:h o; do
|
||||||
case "$o" in
|
case "$o" in
|
||||||
n)
|
n)
|
||||||
|
|
|
@ -13,6 +13,8 @@ COMPOSE_FILE_COMMAND+=("--project-name" "$PROJECT")
|
||||||
# Where is this script? It could be called from anywhere, so use this to get full paths.
|
# Where is this script? It could be called from anywhere, so use this to get full paths.
|
||||||
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
|
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
|
||||||
|
|
||||||
|
source "$SCRIPTPATH/../_common/functions.sh"
|
||||||
|
|
||||||
while getopts n:h o; do
|
while getopts n:h o; do
|
||||||
case "$o" in
|
case "$o" in
|
||||||
n)
|
n)
|
||||||
|
|
Loading…
Reference in New Issue