diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-03-10 00:07:42 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-03-10 00:07:42 +0100 |
| commit | 7be6950258767f2beb47bc44056850fd7bc12002 (patch) | |
| tree | 95de0d798864cb2901162ded62b9d1c5774fdca8 /build.sh | |
| parent | e56cbcc1091c4dbe1d58e7e1705c25e4fdb64204 (diff) | |
.
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,14 +4,14 @@ set -e cd $(dirname -- "$0") -PACKAGE=$1 +package=$1 -if [ -z "$PACKAGE" -o ! -d "$PACKAGE" ]; then +if [ ! -f "./$package/PKGBUILD" ]; then echo "invalid package" 1>&2 exit 1 fi -cd $PACKAGE +cd $package export PATH=/usr/bin:$PATH |
