Mercurial > hg > beaglert
comparison scripts/build_pd_heavy.sh @ 473:2a0b468ce1dd prerelease
build_pd_heavy now looks for file in heavy/render.cpp instead of heavy_render.cpp
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 20 Jun 2016 18:35:47 +0100 |
parents | d9a4fc5357e7 |
children | bfc60429cca6 |
comparison
equal
deleted
inserted
replaced
472:c8dd56aed76d | 473:2a0b468ce1dd |
---|---|
135 | 135 |
136 BBB_PROJECT_FOLDER=$BBB_PROJECT_HOME"/"$BBB_PROJECT_NAME #make sure there is no trailing slash here | 136 BBB_PROJECT_FOLDER=$BBB_PROJECT_HOME"/"$BBB_PROJECT_NAME #make sure there is no trailing slash here |
137 BBB_NETWORK_TARGET_FOLDER=$BBB_ADDRESS:$BBB_PROJECT_FOLDER | 137 BBB_NETWORK_TARGET_FOLDER=$BBB_ADDRESS:$BBB_PROJECT_FOLDER |
138 | 138 |
139 # check how to copy/sync render.cpp file... | 139 # check how to copy/sync render.cpp file... |
140 # check if custom heavy_render.cpp file is provided in the input folder | 140 # check if custom heavy/render.cpp file is provided in the input folder |
141 # TODO: extend this to all non-Pd files | 141 # TODO: extend this to all non-Pd files |
142 CUSTOM_RENDER_SOURCE_PATH="$pdpath/heavy_render.cpp" | 142 CUSTOM_RENDER_SOURCE_PATH="$pdpath/heavy/render.cpp" |
143 if [ -f "$CUSTOM_RENDER_SOURCE_PATH" ]; then | 143 if [ -f "$CUSTOM_RENDER_SOURCE_PATH" ]; then |
144 echo "Found custom heavy_render.cpp file in input folder, using that one instead of the default one."; | 144 echo "Found custom heavy/render.cpp file in input folder, using that one instead of the default one."; |
145 cp "$CUSTOM_RENDER_SOURCE_PATH" "$projectpath/render.cpp" | 145 cp "$CUSTOM_RENDER_SOURCE_PATH" "$projectpath/render.cpp" |
146 else | 146 else |
147 echo "Using default heavy_render.cpp" | 147 echo "Using default heavy/render.cpp" |
148 cp "hvresources/heavy_render.cpp" "$projectpath/render.cpp" | 148 cp "hvresources/heavy_render.cpp" "$projectpath/render.cpp" |
149 fi | 149 fi |
150 | 150 |
151 echo "Updating files on board..." | 151 echo "Updating files on board..." |
152 # HvContext* files tend to hang when transferring with rsync because they are very large and -c checksum takes a lot, I guess | 152 # HvContext* files tend to hang when transferring with rsync because they are very large and -c checksum takes a lot, I guess |