phpide
authorMichael Wagner <michael@wagnertech.de>
Wed, 18 Apr 2018 16:24:08 +0000 (18:24 +0200)
committerMichael Wagner <michael@wagnertech.de>
Wed, 18 Apr 2018 16:24:08 +0000 (18:24 +0200)
tools/make/mconfigure

index be5f3ba..b16fd55 100755 (executable)
@@ -25,7 +25,7 @@ function set_build {
                then
                        tag="${tag}M"
                fi
-               version=${tag%-*}
+               version=${tag%%-*}
                build=${tag#*-}
        fi
 }
@@ -60,6 +60,7 @@ then
        exit 2
 fi
 
+paket=$1
 echo "export paket=$1" > debian/setenv.sh
 shift
 ARCH=""