Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
66990cf8
Commit
66990cf8
authored
Oct 09, 2016
by
neilpang
Browse files
minor
parent
095fe2ed
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
66990cf8
...
@@ -1368,7 +1368,7 @@ _readlink() {
...
@@ -1368,7 +1368,7 @@ _readlink() {
__initHome() {
__initHome() {
if [ -z "$_SCRIPT_HOME" ] ; then
if [ -z "$_SCRIPT_HOME" ] ; then
if _exists readlink && _exists dirname ; then
if _exists readlink && _exists dirname ; then
_debug "Lets
guess
script dir."
_debug "Lets
find
script dir."
_debug "_SCRIPT_" "$_SCRIPT_"
_debug "_SCRIPT_" "$_SCRIPT_"
_script="$(_readlink "$_SCRIPT_")"
_script="$(_readlink "$_SCRIPT_")"
_debug "_script" "$_script"
_debug "_script" "$_script"
...
@@ -3362,7 +3362,7 @@ install() {
...
@@ -3362,7 +3362,7 @@ install() {
if [ -z "$NO_DETECT_SH" ] ; then
if [ -z "$NO_DETECT_SH" ] ; then
#Modify shebang
#Modify shebang
if _exists bash ; then
if _exists bash ; then
_info "Good, bash is
installed,
change the shebang to use bash as prefered."
_info "Good, bash is
found, so
change the shebang to use bash as prefered."
_shebang='#!/usr/bin/env bash'
_shebang='#!/usr/bin/env bash'
_setShebang "$LE_WORKING_DIR/$PROJECT_ENTRY" "$_shebang"
_setShebang "$LE_WORKING_DIR/$PROJECT_ENTRY" "$_shebang"
if [ -d "$LE_WORKING_DIR/dnsapi" ] ; then
if [ -d "$LE_WORKING_DIR/dnsapi" ] ; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment