Commit f2e29be5 authored by Hitendra's avatar Hitendra
Browse files

Clean up make package script

parent 57a608dc
Pipeline #220213637 passed with stages
in 1 minute and 18 seconds
......@@ -51,20 +51,20 @@ echo "version Number: " $VERSION
################################################################################
# start with a little cleanup to remove old files
################################################################################
sudo rm -rf ipk/control.tar.gz
sudo rm -rf $DATA_DIR/
sudo rm -rf ipk/data.tar.gz
sudo rm -rf $IPK_NAME
sudo rm -rf ipk/control.tar.gz 2>/dev/null
sudo rm -rf $DATA_DIR/ 2>/dev/null
sudo rm -rf ipk/data.tar.gz 2>/dev/null
sudo rm -rf $IPK_NAME 2>/dev/null
################################################################################
## copy useful files into data directory
################################################################################
# ros binaries go into normal /opt/ros/indigo place
sudo mkdir -p $DATA_DIR/opt/ros/indigo/
sudo cp -r install/lib/ $DATA_DIR/opt/ros/indigo/
sudo cp -r install/include/ $DATA_DIR/opt/ros/indigo/
sudo cp -r install/share/ $DATA_DIR/opt/ros/indigo/
sudo mkdir -p $DATA_DIR/opt/ros/indigo/ 2>/dev/null
sudo cp -r install/lib/ $DATA_DIR/opt/ros/indigo/ 2>/dev/null
sudo cp -r install/include/ $DATA_DIR/opt/ros/indigo/ 2>/dev/null
sudo cp -r install/share/ $DATA_DIR/opt/ros/indigo/ 2>/dev/null
################################################################################
# pack the control, data, and final ipk archives
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment