mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
- abort docker scripts on error - generate version in system tests - build debian packages in docker - add make clean target - fix lint
11 lines
232 B
Bash
Executable File
11 lines
232 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cmd=$@
|
|
test -z "$cmd" && cmd="bash"
|
|
|
|
usermod -u `stat -c %u /work/src` aptly >/dev/null
|
|
chown -R `stat -c %u /work/src` /var/lib/aptly
|
|
|
|
cd /work/src
|
|
exec sudo -u aptly PATH=$PATH:/work/src/build GOPATH=/work/src/.go $cmd
|