remove unused variable (aka a feature)
Runa A. Sandvik

Runa A. Sandvik commited on 2009-09-04 10:06:41
Zeige 1 geänderte Dateien mit 5 Einfügungen und 12 Löschungen.

... ...
@@ -116,22 +116,15 @@ for file in $wml ; do
116 116
 	# repository.
117 117
 	if [ $onedirup = $wmldir ]
118 118
 	then
119
-		popath="$podir/$dir"
120
-
121
-		# Check if the directory exists. If it doesn't,
122
-		# create it
123
-		if [ ! -d "$podir/$dir" ]
124
-		then
125
-			svn mkdir "$podir/$dir"
126
-		fi
119
+		popath="$podir"
127 120
 	else
128
-		popath="$podir/$dir/$onedirup"
121
+		popath="$podir/$onedirup"
129 122
 
130 123
 		# Check if the directory exists. If it doesn't,
131
-		# create it.
132
-		if [ ! -d "$podir/$dir/$onedirup" ]
124
+		# create it
125
+		if [ ! -d "$podir/$onedirup" ]
133 126
 		then
134
-			svn mkdir "$podir/$dir/$onedirup"
127
+			svn mkdir "$podir/$onedirup"
135 128
 		fi
136 129
 	fi
137 130
 		
138 131