]> Untitled Git - hvlinux.git/commitdiff
Always cd into BUILD_DIR even if custom function is provided
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 28 Dec 2014 05:40:41 +0000 (00:40 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sun, 28 Dec 2014 19:55:37 +0000 (14:55 -0500)
functions/ipkg

index b30a2e70be2b3b29516c231b95c43e060a431ed5..2fd39ebb66065bd9ae4302dc340d3c3eea409194 100644 (file)
@@ -79,7 +79,6 @@ hvconfig()
 # Default build function
 hvbuild()
 {
-    cd ${BUILD_DIR}
     ${HVMAKE}
     ${HVMAKE} install
 }
@@ -210,6 +209,7 @@ ipkg_script()
         hvconfig_post
     fi
 
+    cd ${BUILD_DIR}
     hvbuild
 
     # Execute post-build function if applicable