Commit cf7e99db authored by Jisi Liu's avatar Jisi Liu

Fix cp -r usage to be portable.

cp -r foo/ bar/ in linux will create a bar/foo directoy. In the
objectivec generate descritpor case, well known types will be created in
objectivec/google/google/protobuf/.. if the command is run under linux.

Adding the trailing period fixes the behavior inconsistency.
parent b53417c7
...@@ -73,4 +73,4 @@ fi ...@@ -73,4 +73,4 @@ fi
# Copy them over. # Copy them over.
echo "Copying over updated WellKnownType sources." echo "Copying over updated WellKnownType sources."
cp -r "${TMP_DIR}/google/" "${ProtoRootDir}/objectivec/google/" cp -r "${TMP_DIR}/google/." "${ProtoRootDir}/objectivec/google/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment