fix search for apps if DOKKU_ROOT is a symlink
This commit is contained in:
1 parent
aef3a68d2b
commit
4ae8cf8180
1 file changed
+1
-1
@@ -4,7 +4,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
apps)
|
apps)
|
||||||
echo "=== My Apps"
|
echo "=== My Apps"
|
||||||
find $DOKKU_ROOT -maxdepth 1 -type d \( ! -iname ".*" \) -not -path $DOKKU_ROOT/tls | sed 's|^\./||g' | sed 's|'$DOKKU_ROOT'\/||' | tail -n +2 | sort
|
find $DOKKU_ROOT -follow -maxdepth 1 -type d \( ! -iname ".*" \) -not -path $DOKKU_ROOT/tls | sed 's|^\./||g' | sed 's|'$DOKKU_ROOT'\/||' | tail -n +2 | sort
|
||||||
;;
|
;;
|
||||||
|
|
||||||
apps:create)
|
apps:create)
|
||||||
|
|||||||
Reference in new issue
Block a user