[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r20474: {website} remove unused variable (aka a feature) (website/trunk)



Author: runa
Date: 2009-09-04 04:06:41 -0400 (Fri, 04 Sep 2009)
New Revision: 20474

Modified:
   website/trunk/wml2po.sh
Log:
remove unused variable (aka a feature)

Modified: website/trunk/wml2po.sh
===================================================================
--- website/trunk/wml2po.sh	2009-09-04 03:20:44 UTC (rev 20473)
+++ website/trunk/wml2po.sh	2009-09-04 08:06:41 UTC (rev 20474)
@@ -116,23 +116,16 @@
 	# repository.
 	if [ $onedirup = $wmldir ]
 	then
-		popath="$podir/$dir"
+		popath="$podir"
+	else
+		popath="$podir/$onedirup"
 
 		# Check if the directory exists. If it doesn't,
 		# create it
-		if [ ! -d "$podir/$dir" ]
+		if [ ! -d "$podir/$onedirup" ]
 		then
-			svn mkdir "$podir/$dir"
+			svn mkdir "$podir/$onedirup"
 		fi
-	else
-		popath="$podir/$dir/$onedirup"
-
-		# Check if the directory exists. If it doesn't,
-		# create it.
-		if [ ! -d "$podir/$dir/$onedirup" ]
-		then
-			svn mkdir "$podir/$dir/$onedirup"
-		fi
 	fi
 		
 	# Check to see if the pot file existed prior to running this