X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions;h=8ee7dd02706989af08d9ec79354303c9bd907e8c;hb=afdcc2624aec2f5aaaf00aa211455ba54eaf0703;hp=4f58fafcbb4a2b8d64a22d4c063ee4ef53b724a6;hpb=5b913b7b528bb69a0c90583b8776d6d26b9cb189;p=hvlinux.git diff --git a/functions b/functions index 4f58faf..8ee7dd0 100644 --- a/functions +++ b/functions @@ -99,7 +99,7 @@ get_pkg_name() return 1 fi - echo ${1} | sed "s!^\(.*\)-.*!\1!g" + echo ${1} | sed "s!^\(.*\)-[0-9]*\.[0-9]*.*!\1!g" } # Saves the content of CFLAGS and CXXFLAGS environment variables.