Commit 38bcc31e authored by Jondy Zhao's avatar Jondy Zhao

Fix dirname command couldn't be found

parent 3512ee0a
......@@ -44,7 +44,7 @@
# startup Run slapos-configure.sh on windows startup
# runner Install web runner for this node
#
source $(dirname $0)/slapos-include.sh
source $0/../slapos-include.sh
check_administrator_right
if [[ ! ":$PATH" == :/opt/slapos/bin: ]] ; then
......
#! /bin/bash
source $(dirname $0)/slapos-include.sh
source $0/../slapos-include.sh
check_administrator_right
# -----------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment