New commits:
commit c21a3bcde6ed15ba391b927295e9e779aa6754de
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
scripts/mk{iso,release}.sh: chown files option
The mkiso and mkrelease scripts can now (at the request of the user)
chown the output files to $UID:$GID. This is useful since most of the
scripts run with superuser privileges (mkisofs requires it for
example), so without doing this the files would be (likely) owned by
root and the user wouldn't be able to modify them (without switching
to root).
function usage() {
@@ -35,6 +36,7 @@ while getopts "z" Options
do
case $Options in
k ) KEEP="-k" ;;
+ u ) ISOCHOWN=true ;;
z ) COMPRESS=true ;;
h ) usage ;;
* ) echo "Unrecognized option" >&2 && usage ;;
@@ -65,3 +67,5 @@ then
$SUODOCMD bzip2 -f -v $KEEP "${ISO_VERSION}.iso"
fi