aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-timezone-fix-bug-in-getopts-parsing.patch
blob: 29ba63230940c8a175db76b6a72681c325c83d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 762c6558e48409159fba7b12ce8fb0baf4e6e2f5 Mon Sep 17 00:00:00 2001
From: Eivind Uggedal <eivind@uggedal.com>
Date: Mon, 12 Aug 2013 22:26:16 +0200
Subject: [PATCH] setup-timezone: fix bug in getopts parsing

---
 setup-timezone.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-timezone.in b/setup-timezone.in
index 41d4f16..5034223 100755
--- a/setup-timezone.in
+++ b/setup-timezone.in
@@ -47,7 +47,7 @@ while getopts "hp:z:" opt; do
         case $opt in
                 h) usage;;
                 p) POSIXTZ="$OPTARG";;
-		t) ZONEINFOFOLDER="$OPTARG";;
+		z) ZONEINFOFOLDER="$OPTARG";;
         esac
 done
 
-- 
1.8.4