X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=inline;f=functions;h=8ee7dd02706989af08d9ec79354303c9bd907e8c;hb=00e8a130828a360dd654ff76cade992d846fc059;hp=5d7d083cc24484d73a337d430e61db6d41e0c92a;hpb=aa229d2908422fce286bbd65710e31b086c8a2a2;p=hvlinux.git diff --git a/functions b/functions index 5d7d083..8ee7dd0 100644 --- a/functions +++ b/functions @@ -22,6 +22,8 @@ BRACKET="\033[1;34m" TAR_OPTS="-b8" +HV_FONTS_PATH="/usr/share/fonts" + # It seems that when compiling bash-4.0, using # "make -j 1" is causing problems... if [ "x${MAKEJOBS}" = "x1" ]; then @@ -97,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.