Skip to content

Commit 954e7ce

Browse files
committed
Copy bashrc template instead of moving it, for wmagent
Use WMA_DEPLOY_DIR instead of WMA_CONFIG_DIR
1 parent e2d764a commit 954e7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/pypi/wmagent/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export WMA_USER=$wmaUser
1313
export USER=$wmaUser
1414
[[ -d ${HOME} ]] || mkdir -p ${HOME}
1515

16-
mv ${WMA_CONFIG_DIR}/etc/wmagent_bashrc $HOME/.bashrc
16+
cp -f ${WMA_DEPLOY_DIR}/etc/wmagent_bashrc $HOME/.bashrc
1717
source $HOME/.bashrc
1818

1919
echo "Start initialization"

0 commit comments

Comments
 (0)