Skip to content

Commit

Permalink
create_package: fix vs substitution in osx
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo castro authored and arturo castro committed Oct 5, 2010
1 parent d0d2d01 commit 646222b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/dev/create_package.sh
Expand Up @@ -123,7 +123,7 @@ function deleteProjectFiles {
rm *.cbp *.workspace
mv $current_example.newcbp $current_example.cbp
mv $current_example.newworkspace $current_example.workspace
sed -i s/${example_name}_${platform}/${example_name}/g $current_example.workspace
perl -pi -e s/${example_name}_${platform}/${example_name}/g $current_example.workspace

#delete other platform's project files
if [ "$platform" = "win_cb" ]; then
Expand Down Expand Up @@ -153,7 +153,7 @@ function deleteProjectFiles {
mv ${current_example}_$platform.vcxproj.user $current_example.vcxproj.user
mv ${current_example}_$platform.vcxproj.filters $current_example.vcxproj.filters
mv ${current_example}_$platform.sln $current_example.sln
sed -i s/${example_name}_${platform}/${example_name}/g $current_example.sln
perl -pi -e s/${example_name}_${platform}/${example_name}/g $current_example.sln

#delete other platform's project files
deleteVS2008
Expand All @@ -170,7 +170,7 @@ function deleteProjectFiles {
mv ${current_example}_$platform.vcproj $current_example.vcproj
mv ${current_example}_$platform.vcproj.user $current_example.vcproj.user
mv ${current_example}_$platform.sln $current_example.sln
sed -i s/${example_name}_${platform}/${example_name}/g $current_example.sln
perl -pi -e s/${example_name}_${platform}/${example_name}/g $current_example.sln

#delete other platform's project files
deleteVS2010
Expand Down

0 comments on commit 646222b

Please sign in to comment.