Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/view*: use bash from $PATH #716

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/view1/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#export DAWN_PS_PREVIEWER="derp"

Expand Down
2 changes: 1 addition & 1 deletion scripts/view11/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#trignometry
sin ()
Expand Down
2 changes: 1 addition & 1 deletion scripts/view12/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#trignometry
sin ()
Expand Down
2 changes: 1 addition & 1 deletion scripts/view13/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "view2 produces a series of XY slices a different z locations."

Expand Down
2 changes: 1 addition & 1 deletion scripts/view14/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#trignometry
sin ()
Expand Down
2 changes: 1 addition & 1 deletion scripts/view15/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#trignometry
sin ()
Expand Down
2 changes: 1 addition & 1 deletion scripts/view2/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "view2 produces a series of XY slices a different z locations."

Expand Down
2 changes: 1 addition & 1 deletion scripts/view20/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#export DAWN_PS_PREVIEWER="derp"

Expand Down
2 changes: 1 addition & 1 deletion scripts/view3/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "view3 produces a series of XY slices a different z locations."

Expand Down
2 changes: 1 addition & 1 deletion scripts/view4/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# this is a detector slice

Expand Down
2 changes: 1 addition & 1 deletion scripts/view5/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# this is a detector slice

Expand Down
2 changes: 1 addition & 1 deletion scripts/view50/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#export DAWN_PS_PREVIEWER="derp"

Expand Down
2 changes: 1 addition & 1 deletion scripts/view6/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "view6 produces a series of XY slices a different z locations."

Expand Down
2 changes: 1 addition & 1 deletion scripts/view7/generate_eps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "view7 produces a series of XY slices a different z locations."

Expand Down
2 changes: 1 addition & 1 deletion src/BarrelCalorimeterScFi_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ void buildFibers(Detector& desc, SensitiveDetector& sens, Volume& s_vol, int lay
struct Fiber {
Point pos;
bool assigned = false;
Fiber(const Point& p) : pos(p){};
Fiber(const Point& p) : pos(p) {};
};
std::vector<Fiber> fibers(f_pos.begin(), f_pos.end());

Expand Down
Loading