Files
aptly/system/docker-wrapper
2024-10-01 01:07:09 +02:00

13 lines
241 B
Bash
Executable File

#!/bin/sh -e
usermod -u `stat -c %u /work/src` aptly >/dev/null
chown -R `stat -c %u /work/src` /var/lib/aptly
if [ -z "$@" ]; then
echo Error: no make target specified
exit 1
fi
cd /work/src
su aptly -c "GOPATH=$PWD/.go make $@"