Skip to content

Commit

Permalink
removed calls for pash in run scripts to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
huangworld committed Aug 2, 2024
1 parent 2c1a707 commit 3a181ea
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
4 changes: 0 additions & 4 deletions file-enc/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ file-enc() {
# output_file contains "done" when run successfully. The real outputs are under output_dir/
if [[ "$1" == "bash" ]]; then
(time bash $script_file $input_dir $output_dir > $output_file ) 2> $time_file
else
params="$2"
(time $PASH_TOP/pa.sh $params --log_file $log_file $script_file $input_dir $output_dir > $output_file) 2> $time_file
fi

rm -rf "$output_dir"
Expand All @@ -57,4 +54,3 @@ file-enc() {
d=0

file-enc "bash"
file-enc "pash" "--width 8 --r_split --parallel_pipelines --profile_driven -d $d"
4 changes: 0 additions & 4 deletions log-analysis/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ log-analysis() {

if [[ "$1" == "bash" ]]; then
(time $script_file $input_dir $output_dir > $output_file) 2> $time_file
else
params="$2"
(time $PASH_TOP/pa.sh $params --log_file $log_file $script_file $input_dir $output_dir > $output_file) 2> $time_file
fi

# Generate SHA-256 hash and delete output file
Expand All @@ -89,4 +86,3 @@ log-analysis() {
d=0

log-analysis "bash"
log-analysis "pash" "--width 8 --r_split -d $d --parallel_pipelines --profile_driven"
5 changes: 0 additions & 5 deletions media-conv/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ media-conv() {

if [[ "$1" == "bash" ]]; then
(time $script_file $input_dir $output_dir > $output_file) 2> $time_file
else
params="$2"
(time $PASH_TOP/pa.sh $params --log_file $log_file $script_file $input_dir $output_dir > $output_file) 2> $time_file
fi

# Generate hash files for each converted file in output_dir
Expand All @@ -113,6 +110,4 @@ media-conv() {
d=0

media-conv "bash"
media-conv "pash" "--width 8 --r_split -d $d --parallel_pipelines --profile_driven"


0 comments on commit 3a181ea

Please sign in to comment.