diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2016-04-29 11:31:57 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2016-04-29 11:31:57 -0700 |
commit | cf7e99db969dba4a78b97d1a0cd5228cc8e6ec8c (patch) | |
tree | 5365a743acebc97c3dab90108c33a0eecf0b0e09 /objectivec | |
parent | b53417c7356deab70f44b60bd7e6270023ddc3b6 (diff) | |
download | protobuf-cf7e99db969dba4a78b97d1a0cd5228cc8e6ec8c.tar.gz protobuf-cf7e99db969dba4a78b97d1a0cd5228cc8e6ec8c.tar.bz2 protobuf-cf7e99db969dba4a78b97d1a0cd5228cc8e6ec8c.zip |
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.
Diffstat (limited to 'objectivec')
-rwxr-xr-x | objectivec/generate_well_known_types.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objectivec/generate_well_known_types.sh b/objectivec/generate_well_known_types.sh index 73be50ff..36c34603 100755 --- a/objectivec/generate_well_known_types.sh +++ b/objectivec/generate_well_known_types.sh @@ -73,4 +73,4 @@ fi # Copy them over. echo "Copying over updated WellKnownType sources." -cp -r "${TMP_DIR}/google/" "${ProtoRootDir}/objectivec/google/" +cp -r "${TMP_DIR}/google/." "${ProtoRootDir}/objectivec/google/" |