[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 2ff93c9: Fix defect introduced 20180416T2021Z
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 2ff93c9: Fix defect introduced 20180416T2021Z: cd to parent, then test subdir |
Date: |
Mon, 16 Apr 2018 19:01:03 -0400 (EDT) |
branch: master
commit 2ff93c93acf5fbaaa30e88a5dd4fe0814991a6bc
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Fix defect introduced 20180416T2021Z: cd to parent, then test subdir
---
install_msw.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/install_msw.sh b/install_msw.sh
index adf2020..5ed3ec9 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -257,9 +257,10 @@ fi
# to be discarded, and any differences in the '.git' subdirectory,
# which are presumably important to keep.
+cd /opt/lmi/src
if [ -d lmi-moved-"$stamp0" ]
then
-cd /opt/lmi/src && mv lmi lmi-new-"$stamp0" && mv lmi-moved-"$stamp0" lmi
+mv lmi lmi-new-"$stamp0" && mv lmi-moved-"$stamp0" lmi
fi
stamp1=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 2ff93c9: Fix defect introduced 20180416T2021Z: cd to parent, then test subdir,
Greg Chicares <=