summaryrefslogtreecommitdiff
path: root/FS-Test
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-12-21 15:37:36 -0800
committerMark Wells <mark@freeside.biz>2016-12-21 15:37:36 -0800
commit0fa98e9782d550147a68a00d7ee75079ad331666 (patch)
treecdb726233df97e69e2047c636b63d7ba20b27857 /FS-Test
parent89d30bbd2b79d9b1de0890eec86234bc9d3ce330 (diff)
parentc5412ade1a2ce0eb26ffa37d1f3a1540760b2150 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into 3.x
Diffstat (limited to 'FS-Test')
-rwxr-xr-xFS-Test/bin/freeside-test-stop2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS-Test/bin/freeside-test-stop b/FS-Test/bin/freeside-test-stop
index 5e221a85b..ad355c3de 100755
--- a/FS-Test/bin/freeside-test-stop
+++ b/FS-Test/bin/freeside-test-stop
@@ -22,7 +22,7 @@ if (sudo grep -q '^test:' /usr/local/etc/freeside/htpasswd); then
oldhtpasswd=$( cd /usr/local/etc/freeside; \
ls |grep -P 'htpasswd_\d{8}' | \
sort -nr |head -1 )
- if [ -f $oldhtpasswd ]; then
+ if [ -f /usr/local/etc/freeside/$oldhtpasswd ]; then
echo "Renaming $oldhtpasswd to htpasswd."
sudo mv /usr/local/etc/freeside/$oldhtpasswd \
/usr/local/etc/freeside/htpasswd