Browse code

remove unused variable (aka a feature)

Runa A. Sandvik authored on04/09/2009 10:06:41
Showing1 changed files
... ...
@@ -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