Use bash variable add operator
[hvlinux.git] / stage3 / pkg / freetype
index 7aa6483..4d24af0 100644 (file)
@@ -1,4 +1,9 @@
+#!/bin/bash
 
+hvconfig_pre()
+{
+    cd ${LFS_TMP}/${PACKAGE}
 
-sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
-          include/freetype/config/ftoption.h &&
+    sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
+        include/freetype/config/ftoption.h
+}