File: shell

package info (click to toggle)
syslog-ng 4.8.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 20,440 kB
  • sloc: ansic: 177,631; python: 13,035; cpp: 11,611; makefile: 7,011; sh: 5,147; java: 3,651; xml: 3,344; yacc: 1,377; lex: 599; perl: 193; awk: 190; objc: 162
file content (17 lines) | stat: -rwxr-xr-x 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

echo -e "\n\nWelcome to the syslog-ng developer's shell... ($IMAGE_PLATFORM)\n"

echo -e "You can find the source in /source, you can build the source using:\n"
echo -e "\t\$ cd /build"
echo -e "\t\$ /source/configure"
echo -e "\t\$ make"
echo -e "If configure is not yet available, run '/dbld/bootstrap' (in the container) or"
echo -e "'./dbld/rules bootstrap' (on the host) or manually execute autogen.sh in the "
echo -e "source dir.\n"

if [ "$IMAGE_PLATFORM" != "devshell" ]; then
	echo -e "NOTE: the 'devshell' dbld image is more developer friendly, you might want to use that"
fi
cd /source
debian_chroot="dbld" HOME=/build exec bash -c "$*"