Fix popd noise

pull/55/head
Dan Caseley 2022-04-18 19:56:27 +01:00 committed by Guus der Kinderen
parent 438c9ec933
commit 5742077a93
4 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/bash
pushd () {
command pushd "$@" > /dev/null
}
popd () {
command popd "$@" > /dev/null
}

View File

@ -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.
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
source "$SCRIPTPATH/../_common/functions.sh"
while getopts n:h o; do
case "$o" in
n)

View File

@ -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.
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
source "$SCRIPTPATH/../_common/functions.sh"
while getopts n:h o; do
case "$o" in
n)

View File

@ -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.
SCRIPTPATH="$( cd "$(dirname "$0")"; pwd -P )"
source "$SCRIPTPATH/../_common/functions.sh"
while getopts n:h o; do
case "$o" in
n)