summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg8
1 files changed, 4 insertions, 4 deletions
diff --git a/libremakepkg b/libremakepkg
index b8d8c9a..18e1c22 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -118,11 +118,11 @@ while getopts ${libremakepkgargs} arg ; do
h) usage; exit 0 ;;
c) CLEAN_FIRST="y" ;;
u) UPDATE_FIRST="y" ;;
- U) update_config='y'
+ U) update_config='y' ;;
n) CHROOTNAME="$OPTARG" ;;
M) MAKEPKG_ARGS+=" $OPTARG" ;;
- L) MAKEPKG_ARGS+=" -$arg $OPTARG"
- USE_LOG='y';;
+ L) MAKEPKG_ARGS+=" -$arg $OPTARG"
+ USE_LOG='y';;
*) MAKEPKG_ARGS+=" -$arg $OPTARG" ;;
esac
done
@@ -156,7 +156,7 @@ if [ "${CLEAN_FIRST}" = y ]; then
fi
msg "Creating the package"
-makechrootpkg -r "${CHROOTDIR}" -l "${CHROOTNAME}" -- "${MAKEPKG_ARGS}
+makechrootpkg -r "${CHROOTDIR}" -l "${CHROOTNAME}" -- "${MAKEPKG_ARGS}"
ev=$? # exit value
[ "${USE_LOG}" == 'y' -a -e ${CHROOTDIR}/${CHROOTNAME}/build/*.log ] && {