From 2054f7be155ee9ab1089d365c81c72d066a59a14 Mon Sep 17 00:00:00 2001 From: Kjell Hedstrom Date: Fri, 7 Mar 2014 14:33:13 -0700 Subject: [PATCH] created directories in the wrong order with aspect to script execution --- scripts/buildProtoFiles.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/buildProtoFiles.sh b/scripts/buildProtoFiles.sh index 878ac65439072..7db5cb95997a9 100755 --- a/scripts/buildProtoFiles.sh +++ b/scripts/buildProtoFiles.sh @@ -22,6 +22,8 @@ if [ ! -f "$phpprotoc" ]; then sh "$scriptsDir"/getPhpProtobuffers.sh fi +mkdir -p "$cppSrcDir"/liblrdpi "$cppSrcDir"/libstats "$cppSrcDir"/libconf $cppSrcDir/libcommand "$cppSrcDir"/libprocess "$cppSrcDir"/liblua "$cppSrcDir"/libtools "$cppSrcDir"/libfork + cp "$protoFileDir"/DpiMsgLRproto.proto "$protoFileDir"/DpiMsgLRproto.proto.orig cp "$protoFileDir"/Applications.proto "$protoFileDir"/Applications.proto.orig sh "$scriptsDir"/buildDpiMsgLRProto.sh > "$protoFileDir"/DpiMsgLRproto.proto @@ -47,7 +49,6 @@ for file in `ls "$protoFileDir" | grep -v DpiMsgLRproto | grep -v Applications` done cd "$startDir" -mkdir -p "$cppSrcDir"/liblrdpi "$cppSrcDir"/libstats "$cppSrcDir"/libconf $cppSrcDir/libcommand "$cppSrcDir"/libprocess "$cppSrcDir"/liblua "$cppSrcDir"/libtools "$cppSrcDir"/libfork cd "$cppSrcDir" "$protoc" -I="$protoFileDir" --cpp_out=liblrdpi "$protoFileDir"/DpiMsgLRproto.proto "$protoc" -I="$protoFileDir" --cpp_out=liblrdpi "$protoFileDir"/Applications.proto