Skip to content

Commit 8a7e0af

Browse files
committed
See if we can script some of the move process
1 parent 840d57c commit 8a7e0af

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

include/core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(CORE_HDRS
55
baseType.h
66
complexSupport.h
77
create_Aggr.h
8-
# derivedAttribute.h
8+
derivedAttribute.h
99
# dictSchema.h
1010
# dictdefs.h
1111
# dictionaryInstance.h

misc/header_mv.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
find . -type f -path "*/cl*" -not -path "*.git/*" -not -path "*/exp*" -regex '.*\(c\|cpp\|cxx\|h\|hpp\)$' -exec perl -0777 -pi -e "s/include \"$1\"/include \"core\/$1\"/g" {} \;
3+
find . -type f -path "*/cl*" -not -path "*.git/*" -not -path "*/exp*" -regex '.*\(c\|cpp\|cxx\|h\|hpp\)$' -exec perl -0777 -pi -e "s/include <$1>/include \"core\/$1\"/g" {} \;
4+

src/clstepcore/ExpDict.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#include "entityDescriptor.h"
3939
#include "enumTypeDescriptor.h"
4040
#include "core/attrDescriptor.h"
41-
#include "derivedAttribute.h"
41+
#include "core/derivedAttribute.h"
4242
#include "inverseAttribute.h"
4343

4444
#include "core/create_Aggr.h"

src/clstepcore/derivedAttribute.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "derivedAttribute.h"
1+
#include "core/derivedAttribute.h"
22

33
Derived_attribute::Derived_attribute( const char * name, const TypeDescriptor * domainType,
44
Logical optional, Logical unique, AttrType_Enum at, const EntityDescriptor & owner )

0 commit comments

Comments
 (0)