This website works better with JavaScript.
Home
Help
Register
Sign In
nilm
/
nilmbuntu
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
7
Wiki
Activity
Browse Source
configurable builds
tags/nilmdbuntu-1
Jim Paris
9 years ago
parent
c178d25479
commit
bdd76bfe0b
4 changed files
with
10 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
config
+8
-0
config
+1
-1
enter.sh
+1
-1
full-rebuild.sh
+ 0
- 1
config
View File
@@ -1 +0,0 @@
config-12.10
+ 8
- 0
config
View File
@@ -0,0 +1,8 @@
#!/bin/bash
if [ -z "$BUILD_CONFIG" ] ; then
echo "Set BUILD_CONFIG first"
exit 1
fi
. config-$BUILD_CONFIG
+ 1
- 1
enter.sh
View File
@@ -3,7 +3,7 @@
# make sure this was run as root
if [ $UID -ne 0 ] ; then
echo "Need to be root; trying sudo"
exec sudo $0 "$@"
exec sudo
env BUILD_CONFIG=$BUILD_CONFIG
$0 "$@"
fi
# enter the chroot and run the command (if supplied) or a shell
+ 1
- 1
full-rebuild.sh
View File
@@ -4,7 +4,7 @@
# passwords during execution
if [ $UID -ne 0 ] ; then
echo "Need to be root; trying sudo"
exec sudo nice $0 "$@"
exec sudo nice
env BUILD_CONFIG=$BUILD_CONFIG
$0 "$@"
fi
. config || exit 0
Write
Preview
Loading…
Cancel
Save