File: run-makeself.sh

package info (click to toggle)
makeself 2.5.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: sh: 2,139; makefile: 20
file content (22 lines) | stat: -rwxr-xr-x 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -eu
THIS="$(readlink -f "$0")"
THISDIR="$(dirname "${THIS}")"
SRCDIR="$(dirname "${THISDIR}")"
VERSION="$(cat "${SRCDIR}/VERSION")"

# Test run on artifacts

echo ">> env:"
uname -a

cd "$THISDIR"

# Try a quiet run
sh "../build-ubuntu/makeself-$VERSION.run" --quiet --target ./tmp/makeself-ubuntu

# Regular runs
sh "../build-ubuntu/makeself-$VERSION.run" --target ./tmp/makeself-ubuntu
sh "../build-alpine/makeself-$VERSION.run" --target ./tmp/makeself-alpine
sh "../build-windows/makeself-$VERSION.run" --target ./tmp/makeself-windows
sh "../build-macos/makeself-$VERSION.run" --target ./tmp/makeself-macos