From 6087c10b4f2041e48ce8fd12daf8a21bb29fdd87 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sun, 30 Nov 2014 22:31:20 +0100 Subject: [PATCH] Renamed .buildgear/.lock to .buildgear/lock No need to make the lock file hidden since it is already in a hidden directory. --- src/filesystem.cc | 2 +- src/include/buildgear/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filesystem.cc b/src/filesystem.cc index d929495..b4aa194 100644 --- a/src/filesystem.cc +++ b/src/filesystem.cc @@ -338,7 +338,7 @@ void CFileSystem::InitRoot(void) // Play nice, create git ignore files command = "echo 'build/*' > .gitignore ; "; command += "echo 'config' > " ROOT_DIR "/.gitignore"; - command += "echo '.lock' >> " ROOT_DIR "/.gitignore"; + command += "echo 'lock' >> " ROOT_DIR "/.gitignore"; status = system(command.c_str()); if (status != 0) diff --git a/src/include/buildgear/config.h b/src/include/buildgear/config.h index 6629582..fdfea11 100644 --- a/src/include/buildgear/config.h +++ b/src/include/buildgear/config.h @@ -123,7 +123,7 @@ class CConfig : public CUtility #define BUILD_FILES_README "README" #define LAYER_FILE_NAME ".layer" #define DEFAULT_LAYER_NAME "default" -#define LOCK_FILE ROOT_DIR "/.lock" +#define LOCK_FILE ROOT_DIR "/lock" #define TEMP(a) (Config.tmp_dir + string(a)) #define SCRIPT_OUTPUT_FIFO TEMP("script_output.fifo")