changeset 12016:d7b106f7062c draft

<b_jonas> `` /bin/sed -i \'s%share%"${HACKENV-/hackenv}"/share%\' bin/recipe
author HackEso <hackeso@esolangs.org>
date Thu, 14 Nov 2019 21:40:39 +0000
parents f653293dec28
children 743d67ea7f22
files bin/recipe
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/recipe	Thu Nov 14 16:24:52 2019 +0000
+++ b/bin/recipe	Thu Nov 14 21:40:39 2019 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec perl -e 'local$/=\999;seek STDIN,rand((-s STDIN)-299),0 or die;print<STDIN>=~y/ \t/ /sr;' < share/recipe/recipes.txt
+exec perl -e 'local$/=\999;seek STDIN,rand((-s STDIN)-299),0 or die;print<STDIN>=~y/ \t/ /sr;' < "${HACKENV-/hackenv}"/share/recipe/recipes.txt