mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 18:51:05 -05:00
ENH: Move permissions code to kwsys so that copyfile can use it. Fixes Bug #1133 - cmake -E copy file dir sets the wrong permissions on the destination directory
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <sys/types.h>
|
||||
|
||||
/** \class cmSystemTools
|
||||
* \brief A collection of useful functions for CMake.
|
||||
@@ -278,10 +277,6 @@ public:
|
||||
of the form var=value */
|
||||
static bool PutEnv(const char* value);
|
||||
|
||||
///! Get permissions of the file
|
||||
static bool GetPermissions(const char* file, mode_t& mode);
|
||||
static bool SetPermissions(const char* file, mode_t mode);
|
||||
|
||||
private:
|
||||
static bool s_ForceUnixPaths;
|
||||
static bool s_RunCommandHideConsole;
|
||||
|
||||
Reference in New Issue
Block a user