Remove backup files generated by sed
Change-Id: I803320fac2bbb8852449d175e986a9f63e7cdbfe
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -28,7 +28,7 @@ perl -pi.old -e "s/maxFileSize=1MB/maxFileSize=10MB/g" \ | ... | @@ -28,7 +28,7 @@ perl -pi.old -e "s/maxFileSize=1MB/maxFileSize=10MB/g" \ |
28 | # Patch-in proper Karaf version into the startup script | 28 | # Patch-in proper Karaf version into the startup script |
29 | sed -i.bk "s/apache-karaf-\$KARAF_VERSION/$KARAF_DIR/g" bin/onos-service | 29 | sed -i.bk "s/apache-karaf-\$KARAF_VERSION/$KARAF_DIR/g" bin/onos-service |
30 | sed -i.bk "s/apache-karaf-\$KARAF_VERSION/$KARAF_DIR/g" bin/onos-client | 30 | sed -i.bk "s/apache-karaf-\$KARAF_VERSION/$KARAF_DIR/g" bin/onos-client |
31 | -rm -f *.bk | 31 | +rm -f bin/*.bk |
32 | mv bin/onos-client bin/onos | 32 | mv bin/onos-client bin/onos |
33 | chmod a+x bin/onos-service bin/onos | 33 | chmod a+x bin/onos-service bin/onos |
34 | 34 | ... | ... |
-
Please register or login to post a comment