Commit 15a2119d authored by Khalid Elmously's avatar Khalid Elmously Committed by Kleber Sacilotto de Souza

UBUNTU: [Packaging] update helper scripts

BugLink: http://bugs.launchpad.net/bugs/1786013Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent 1907be6f
......@@ -134,7 +134,7 @@ if [ "$DEBIAN" != 'debian.master' ] && [ $skip_master_entries == 0 ]; then
echo "Failed to retrieve base master version from changelog file: $DEBIAN/changelog"
exit 1
fi
base_version=$(echo "$changes" | sed -n -r -e '/^\s.*\[ Ubuntu: ([0-9.-]*) \]$/{s//\1/p;q}')
base_version=$(echo "$changes" | sed -n -r -e '/^\s.*\[ Ubuntu: ([~0-9.-]*) \]$/{s//\1/p;q}')
[ "$base_version" ] && break
offset=$(( offset + 1 ))
done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment