fix clean on RO package creation 44/9544/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 3 Aug 2020 13:39:44 +0000 (13:39 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 3 Aug 2020 13:40:20 +0000 (13:40 +0000)
Change-Id: I85982a0aed17d13ec09b88c4aa8640af34cbeb95
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
RO/Makefile
devops-stages/stage-build.sh

index 15dce71..437ce0e 100644 (file)
@@ -23,6 +23,8 @@ all:  clean package
 
 clean:
        rm -rf dist deb_dist osm_ro-*.tar.gz osm_ro.egg-info .eggs
+       find osm_ro -name '*.pyc' -delete
+       find osm_ro -name '*.pyo' -delete
 
 package:
 #      apt-get install -y python-stdeb
index 5ac3f7a..a2f565a 100755 (executable)
@@ -13,6 +13,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+set -ex
+
 rm -rf deb_dist/*
 mkdir -p deb_dist