Skip to content

Commit

Permalink
Merge pull request #272 from GaetanLepage/cat
Browse files Browse the repository at this point in the history
ressources: use \cat instead of /bin/cat in scripts
  • Loading branch information
michaelb authored Jan 16, 2024
2 parents b3254d8 + c5c3d87 commit b2b6f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ressources/init_repl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mkfifo $working_dir/$pipe
touch $working_dir/$out
sleep 36000 > $working_dir/$pipe &

echo "/bin/cat " $working_dir/$pipe " | " $repl > $working_dir/real_launcher.sh
echo "\cat " $working_dir/$pipe " | " $repl > $working_dir/real_launcher.sh
chmod +x $working_dir/real_launcher.sh

echo $repl " process started at $(date +"%F %T")." >> $log
Expand Down
2 changes: 1 addition & 1 deletion ressources/launcher_repl.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
/bin/cat $1 > $2
\cat $1 > $2

0 comments on commit b2b6f13

Please sign in to comment.