git » kde5-pkgbuilds.git » main » tree

[main] / pkg-spawned.sh

#!/bin/sh
set -e
cd $1
if [ -e ./pre-build-special.sh ]; then
	su builder -c "./pre-build-special.sh"
fi
EV=
if [ -n "$2" ]; then
	EV="$2=1"
fi
su builder -c "$EV ../makepkg.sh -Ccs"