Skip to content

Commit fc13853

Browse files
committed
No quotes on ~
1 parent d91ded8 commit fc13853

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/scripts/test_init_scripts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ for shell in ${SHELLS[@]}; do
3333
else
3434
if [ "$shell" = "csh" ]; then
3535
# make sure our .cshrc is empty before we begin as we will clobber it
36-
[ -f "~/.cshrc" ] && mv "~/.cshrc" "~/.cshrc_orig"
36+
[ -f ~/.cshrc ] && mv ~/.cshrc ~/.cshrc_orig
3737
fi
3838

3939
# TEST 1: Source Script and check Module Output
@@ -112,7 +112,7 @@ for shell in ${SHELLS[@]}; do
112112

113113
if [ "$shell" = "csh" ]; then
114114
# Restore our .cshrc
115-
[ -f "~/.cshrc_orig" ] && mv "~/.cshrc_orig" "~/.cshrc"
115+
[ -f ~/.cshrc_orig ] && mv ~/.cshrc_orig ~/.cshrc
116116
fi
117117

118118
fi

0 commit comments

Comments
 (0)