mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
add development server
This commit is contained in:
12
system/docker-wrapper
Executable file
12
system/docker-wrapper
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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 $@"
|
||||
Reference in New Issue
Block a user