Skip to content

Commit

Permalink
fix create_deb.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar-Ray-code committed May 24, 2023
1 parent e1a6907 commit a5a6c8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build/config/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2
11 changes: 3 additions & 8 deletions build/create_deb.bash
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
SCRIPT_DIR=$(cd $(dirname $0); pwd)
TARGET_DISTRO=$1
ARCH=$2
ROS_INSTALL_DIR=$3
DL_ONLY=$4

TARGET_DISTRO=${1-"iron"}
ARCH=${2-"arm64"}
ROS_INSTALL_DIR=${3-"/opt/ros"}
VERSION=$(cat ${SCRIPT_DIR}/config/version.txt)

if [ -z "$TARGET_DISTRO" ]; then TARGET_DISTRO="humble"; fi
if [ -z "$ARCH" ]; then ARCH="arm64"; fi
if [ -z "$VERSION" ]; then VERSION="0.2.0"; fi
if [ -z "$ROS_INSTALL_DIR" ]; then ROS_INSTALL_DIR="/opt/ros"; fi

echo "============================================"
echo " Ar-Ray-code/rpi-bullseye-ros2 "
Expand Down

0 comments on commit a5a6c8e

Please sign in to comment.