Skip to content

Commit

Permalink
Renamed .buildgear/.lock to .buildgear/lock
Browse files Browse the repository at this point in the history
No need to make the lock file hidden since it is already in a hidden
directory.
  • Loading branch information
lundmar committed Nov 30, 2014
1 parent 5d176c4 commit 6087c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/filesystem.cc
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/include/buildgear/config.h
Expand Up @@ -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")
Expand Down

0 comments on commit 6087c10

Please sign in to comment.