Skip to content

Commit 51d74e6

Browse files
authored
Merge pull request #1474 from amaltaro/wmagent-bashrc
Copy bashrc template instead of moving it, for wmagent
2 parents e2d764a + 954e7ce commit 51d74e6

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)