summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-08-23 17:26:04 -0300
committerRenato Botelho <renato@netgate.com>2017-08-23 17:26:51 -0300
commit1f6d1861a972cba2998e96e23115e7f1ab904beb (patch)
tree8c902c7013dee250f795d1b96c369992a82092bc /tools
parentf6c83d052921736a6a4160b4850876f10d905eaf (diff)
downloadpfsense-1f6d1861a972cba2998e96e23115e7f1ab904beb.zip
pfsense-1f6d1861a972cba2998e96e23115e7f1ab904beb.tar.gz
Fix -U option
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build_snapshots.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh
index 8e87751..ea520ac 100755
--- a/tools/build_snapshots.sh
+++ b/tools/build_snapshots.sh
@@ -19,7 +19,7 @@
# limitations under the License.
usage() {
- echo "Usage: $(basename $0) [-l] [-n] [-r] [-u] [-p]"
+ echo "Usage: $(basename $0) [-l] [-n] [-r] [-U] [-p]"
echo " -l: Build looped operations"
echo " -n: Do not build images, only core pkg repo"
echo " -p: Update poudriere repo"
@@ -37,7 +37,7 @@ LOOPED_SNAPSHOTS=""
POUDRIERE_SNAPSHOTS=""
# Handle command line arguments
-while getopts lnpru opt; do
+while getopts lnprU opt; do
case ${opt} in
n)
IMAGES="none"
@@ -51,7 +51,7 @@ while getopts lnpru opt; do
r)
NO_RESET=1
;;
- u)
+ U)
UPLOAD="-U"
;;
*)
OpenPOWER on IntegriCloud