diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2020-09-25 16:10:07 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-09-25 16:10:07 -0300 |
| commit | 81bb55847a592dcbda2c25a4e984918c13543386 (patch) | |
| tree | 946d80f7e8bd528d29f5546392756ac909aa920b | |
| parent | 8769313ab31e3a81fba7b9bcf133d0675eabf3ee (diff) | |
| download | luarocks-81bb55847a592dcbda2c25a4e984918c13543386.tar.gz luarocks-81bb55847a592dcbda2c25a4e984918c13543386.tar.bz2 luarocks-81bb55847a592dcbda2c25a4e984918c13543386.zip | |
makedist: fix dev target
| -rwxr-xr-x | makedist | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -17,7 +17,7 @@ make clean || exit 1 | |||
| 17 | version=$1 | 17 | version=$1 |
| 18 | shift | 18 | shift |
| 19 | 19 | ||
| 20 | if [ "$1" != "dev" ] | 20 | if ! [ "$version" = "dev" ] |
| 21 | then | 21 | then |
| 22 | 22 | ||
| 23 | ROCKSPEC="luarocks-$version-1.rockspec" | 23 | ROCKSPEC="luarocks-$version-1.rockspec" |
| @@ -119,8 +119,6 @@ out="luarocks-$version" | |||
| 119 | rm -rf "$out" | 119 | rm -rf "$out" |
| 120 | mkdir "$out" | 120 | mkdir "$out" |
| 121 | 121 | ||
| 122 | shift | ||
| 123 | |||
| 124 | git ls-files | while read i | 122 | git ls-files | while read i |
| 125 | do | 123 | do |
| 126 | if [ -f "$i" ] | 124 | if [ -f "$i" ] |
