diff --git a/getLastDolibarrDeb.sh b/getLastDolibarrDeb.sh
index 8b507e16aa4df451c66a6991ca60ad9f7228e187..b81f35cd231130b1447725479693f62508a245f3 100755
--- a/getLastDolibarrDeb.sh
+++ b/getLastDolibarrDeb.sh
@@ -13,7 +13,7 @@ else
     num=$1
 fi
 url_ver=$(grep "[^\d\.]$num\..*" $$-list | \
-    sed -e 's/\([0-9]*\.[0-9]*\.[0-9]*\)\(.*\)$/\1\2 \1/' $$-list | \
+    sed -e 's/\([0-9]*\.[0-9]*\.[0-9]*\)\(.*\)$/\1\2 \1/' | \
     sort -k 3 -rn | head -n 1 \
     | sed 's/.*"\(https.*\)"/\1/')