xbps-src: remove non-working -u flag, make -C work in chroot.

--HG--
extra : convert_revision : a9fb1c09b4d29f35888abf9615c40d3cccbeb239
This commit is contained in:
Juan RP 2010-01-09 15:49:36 +01:00
parent 58c93fb275
commit 3e8bd5917c
4 changed files with 11 additions and 29 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2008-2009 Juan Romero Pardines.
# Copyright (c) 2008-2010 Juan Romero Pardines.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -63,7 +63,6 @@ Options:
-C Do not remove build directory after successful installation.
-c Path to global configuration file:
if not specified @@XBPS_INSTALL_ETCDIR@@/xbps-src.conf is used.
-u Update the checksum in template file if used in 'fetch' target.
_EOF
exit 1
}
@ -178,11 +177,10 @@ check_config_vars()
#
# main()
#
while getopts "Cc:u" opt; do
while getopts "Cc:" opt; do
case $opt in
C) dontrm_builddir=yes;;
C) export dontrm_builddir=yes;;
c) config_file_specified=yes; XBPS_CONFIG_FILE="$OPTARG";;
u) update_checksum=yes;;
--) shift; break;;
esac
done