Skip to content

Commit

Permalink
Alter path with respect to ${WORKSPACE}
Browse files Browse the repository at this point in the history
Signed-off-by: Shwetha K Acharya <[email protected]>
  • Loading branch information
Shwetha-Acharya committed May 24, 2021
1 parent 1174edb commit dfcd075
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build-gluster-org/scripts/debian-ubuntu-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ do
echo "building everything"
echo "packing debian distribution"
for i in ${!deb_flavors[@]}; do
~/build-gluster-org/scripts/generic_package.sh debian ${deb_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
${WORKSPACE}/build-gluster-org/scripts/generic_package.sh debian ${deb_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
done

echo "packing ubuntu distribution"
for i in ${!ub_flavors[@]}; do
~/build-gluster-org/scripts/generic_package.sh debian ${ub_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
${WORKSPACE}/scripts/generic_package.sh debian ${ub_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
done
done

Expand All @@ -29,21 +29,21 @@ do
echo "packing debian distribution"
flavors=(stretch buster bullseye)
for i in ${!deb_flavors[@]}; do
~/build-gluster-org/scripts/generic_package.sh debian ${deb_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
${WORKSPACE}/scripts/generic_package.sh debian ${deb_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
done

echo "packing ubuntu distribution"
flavors=(bionic groovy xenial focal hirsute)
for i in ${!ub_flavors[@]}; do
~/build-gluster-org/scripts/generic_package.sh debian ${ub_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
${WORKSPACE}/scripts/generic_package.sh debian ${ub_flavors[$i]} $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
done

elif [ "$OS" == "debian" ]; then
echo "packing debian alone"
case $FLAVOR in
"stretch" | "9" | "buster" | "10" | "bullseye" | "11")
echo "packing debian ${FLAVOR} alone"
../scripts/generic_package.sh $OS $FLAVOR $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
${WORKSPACE}/scripts/generic_package.sh $OS $FLAVOR $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
;;
esac

Expand All @@ -52,7 +52,7 @@ do
case $FLAVOR in
"xenial" | "16.04" | "bionic" | "18.04" | "eoan" | "19.10" | "focal" | "Focal Fossa" | "20.04" | "hirsute" | "21.04" | "hirsute hippo")
echo "packing ubuntu ${FLAVOR} alone"
../scripts/generic_package.sh $OS $FLAVOR $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
${WORKSPACE}/scripts/generic_package.sh $OS $FLAVOR $SERIES $VERSION $RELEASE $LATEST_SERIES $LATEST_VERSION
;;
esac
fi
Expand Down

0 comments on commit dfcd075

Please sign in to comment.