Skip to main content
ALT Linux Bugzilla
– Attachment 22073 Details for
Bug 60263
/usr/sbin/foreman-rake: строка 10: cd: ~foreman: Нет такого файла или каталога
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch
forman-rake.patch (text/plain), 795 bytes, created by
Vladislav Glinkin
on 2026-08-24 17:46:14 MSK
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Vladislav Glinkin
Created:
2026-08-24 17:46:14 MSK
Size:
795 bytes
patch
obsolete
>diff --git a/script/foreman-rake b/script/foreman-rake >index 6340b40612..ae6865b765 100755 >--- a/script/foreman-rake >+++ b/script/foreman-rake >@@ -7,13 +7,13 @@ die() { > echo $*; exit 1 > } > >-cd ~foreman || die "Cannot change to foreman home directory" >+cd ~_foreman || die "Cannot change to foreman home directory" > [ -f Gemfile ] && [[ -z ${BUNDLER_CMD// } ]] && BUNDLER_CMD="bundle exec" > CMD="$BUNDLER_CMD $RAKE_CMD" > if [ $# -eq 0 ]; then > $RAKE_CMD -h; exit 0; >-elif [ "$USERNAME" = foreman ]; then >+elif [ "$USERNAME" = _foreman ]; then > RUBYOPT=-W0 RAILS_ENV=production $CMD "$@" > else >- runuser - foreman -s /bin/bash -c 'RUBYOPT=-W0 RAILS_ENV=production "$0" "$@"' -- $CMD "$@" >+ runuser - _foreman -s /bin/bash -c 'RUBYOPT=-W0 RAILS_ENV=production "$0" "$@"' -- $CMD "$@" > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60263
: 22073