$OpenBSD: patch-bin_installto_sh,v 1.1 2018/02/03 10:35:19 sthen Exp $

Index: bin/installto.sh
--- bin/installto.sh.orig
+++ bin/installto.sh
@@ -115,7 +115,7 @@ if (strtolower($input) == 'y') {
   }
 
   echo "Running update script at target...\n";
-  system("cd $target_dir && php bin/update.sh --version=$oldversion");
+  system("cd $target_dir && ${MODPHP_BIN} bin/update.sh --version=$oldversion");
   echo "All done.\n";
 }
 else {
