Patch to encourage third-parties to compile own packages instead of using hosted by Termux. diff -uNr bash-5.0/shell.c bash-5.0.mod/shell.c --- bash-5.0/shell.c 2018-12-06 18:28:21.000000000 +0200 +++ bash-5.0.mod/shell.c 2020-09-27 23:27:30.347678058 +0300 @@ -384,6 +384,26 @@ USE_VAR(saverst); #endif + // Reversed /data/data/com.termux/files/usr. Prevents patching with 'sed' + // by using equal-size prefixes. + const char termux_prefix_obfs[] = "rsu/selif/xumret.moc/atad/atad/"; + char termux_prefix[sizeof(termux_prefix_obfs)/sizeof(char)] = {0}; + int termux_prefix_len = sizeof(termux_prefix_obfs)/sizeof(char) - 1; + + // Decode. + for (int i=0; i