lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 459b11b 1/4: Preserve original sample hooks b


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 459b11b 1/4: Preserve original sample hooks before symlinking
Date: Thu, 7 Sep 2017 21:14:35 -0400 (EDT)

branch: master
commit 459b11b4c4ca30496eea1d7f9bb9e8c9db52d22c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Preserve original sample hooks before symlinking
---
 README.schroot | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.schroot b/README.schroot
index fd6f4ca..9611f7e 100644
--- a/README.schroot
+++ b/README.schroot
@@ -332,6 +332,7 @@ cp -a /opt/lmi/third_party/bin/md5sum.exe /opt/lmi/local/bin
 
 # Symlink the repository's hooks/ directory:
 cd /opt/lmi/src/lmi
+mv .git/hooks .git/hooks-orig
 ln --symbolic --force --no-dereference ../hooks .git
 
 # Iff this chroot needs write access to savannah, then reconfigure
@@ -349,6 +350,7 @@ git clone -b master file:///opt/lmi/blessed/proprietary
 cd proprietary
 git rev-parse HEAD
 # ...then symlink its hooks/ directory:
+mv .git/hooks .git/hooks-orig
 ln --symbolic --force --no-dereference ../hooks .git
 
 # Create and populate the proprietary source directory used by 'vpath':
@@ -375,3 +377,4 @@ make $coefficiency system_test 2>&1 |less
 
 # Exit the chroot.
 exit
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]