Browse Source

fix permissions after full-rebuild

tags/nilmdbuntu-1
Jim Paris 10 years ago
parent
commit
5173a01055
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      full-rebuild.sh

+ 3
- 2
full-rebuild.sh View File

@@ -1,6 +1,7 @@
#!/bin/bash

# make sure this was run as root
# make sure this was run as root, so we don't get asked for
# passwords during execution
if [ $UID -ne 0 ] ; then
echo "Need to be root; trying sudo"
exec sudo $0 "$@"
@@ -15,4 +16,4 @@ rm -f ${OUTPUT}
./extractiso.sh
./customize.sh
./buildiso.sh
chown ${USER} ${ORIG} ${OUTPUT}

Loading…
Cancel
Save