mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-30 00:37:52 +03:00
17 lines
439 B
Bash
Executable File
17 lines
439 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
echo "----- install deb package -----"
|
|
|
|
# install
|
|
package_dir="$(cd target/upload ; pwd)"
|
|
deb_package=$(ls "${package_dir}"/hurl_*_amd64.deb)
|
|
install_dir="/tmp/hurl-deb-package"
|
|
mkdir -p "${install_dir}"
|
|
dpkg -x "${deb_package}" "${install_dir}"
|
|
|
|
# Return PATH var to parent shell
|
|
package_dir="${install_dir}/usr/bin"
|
|
echo "Run this if you want to use fresh builded hurl package:"
|
|
echo " export PATH=$package_dir:$PATH"
|