install_server.sh: add missing bang
This was discovered by _bodya and reported in the IRC channel. Everything worked fine as these scripts are always executed as shell scripts. Closes #1728
This commit is contained in:
parent
67c4fbed82
commit
6df1251baa
@ -152,7 +152,7 @@ rm -f $TMP_FILE
|
|||||||
#we hard code the configs here to avoid issues with templates containing env vars
|
#we hard code the configs here to avoid issues with templates containing env vars
|
||||||
#kinda lame but works!
|
#kinda lame but works!
|
||||||
REDIS_INIT_HEADER=\
|
REDIS_INIT_HEADER=\
|
||||||
"#/bin/sh\n
|
"#!/bin/sh\n
|
||||||
#Configurations injected by install_server below....\n\n
|
#Configurations injected by install_server below....\n\n
|
||||||
EXEC=$REDIS_EXECUTABLE\n
|
EXEC=$REDIS_EXECUTABLE\n
|
||||||
CLIEXEC=$CLI_EXEC\n
|
CLIEXEC=$CLI_EXEC\n
|
||||||
@ -193,7 +193,7 @@ fi
|
|||||||
# warning if init info is not available.
|
# warning if init info is not available.
|
||||||
|
|
||||||
cat > ${TMP_FILE} <<EOT
|
cat > ${TMP_FILE} <<EOT
|
||||||
#/bin/sh
|
#!/bin/sh
|
||||||
#Configurations injected by install_server below....
|
#Configurations injected by install_server below....
|
||||||
|
|
||||||
EXEC=$REDIS_EXECUTABLE
|
EXEC=$REDIS_EXECUTABLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user