aboutsummaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorhisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c>2009-10-11 06:24:21 +0000
committerhisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c>2009-10-11 06:24:21 +0000
commit6fcee351a9405fa8f7f8a55bb119a5943015c749 (patch)
treec13fd08f1ccdb71f8a18b2897a25822772b11acd /makedist
parent3e46fbfefd841015a1673e91cf81bf76236c1cf8 (diff)
downloadluarocks-6fcee351a9405fa8f7f8a55bb119a5943015c749.tar.gz
luarocks-6fcee351a9405fa8f7f8a55bb119a5943015c749.tar.bz2
luarocks-6fcee351a9405fa8f7f8a55bb119a5943015c749.zip
better defaults for LuaRocks 2.0
git-svn-id: http://luarocks.org/svn/luarocks/trunk@89 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist6
1 files changed, 3 insertions, 3 deletions
diff --git a/makedist b/makedist
index 3e78040a..ebaae76e 100755
--- a/makedist
+++ b/makedist
@@ -4,7 +4,7 @@ cvslist() {
4 if [ "$1" ] 4 if [ "$1" ]
5 then local prefix="$1/" 5 then local prefix="$1/"
6 fi 6 fi
7 cvs list $1 | grep -v "^?" | while read line 7 svn list $1 | grep -v "^?" | while read line
8 do 8 do
9 local path="$prefix$line" 9 local path="$prefix$line"
10 echo "$path" 10 echo "$path"
@@ -21,10 +21,10 @@ then
21 exit 1 21 exit 1
22fi 22fi
23 23
24cvs list > /dev/null 2> /dev/null 24svn list > /dev/null 2> /dev/null
25if [ $? != 0 ] 25if [ $? != 0 ]
26then 26then
27 echo "Your version of CVS may be too old. At least 1.12 is needed." 27 echo "Your version of svn may be too old."
28 exit 1 28 exit 1
29fi 29fi
30 30