Skip to content

Commit

Permalink
Change sourcing of common.sh to be more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtpep committed Dec 6, 2014
1 parent 9a3d7e8 commit b891e1b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion boot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive

Expand Down
2 changes: 1 addition & 1 deletion chroot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive

Expand Down
2 changes: 1 addition & 1 deletion format.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive

Expand Down
2 changes: 1 addition & 1 deletion mount.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive

Expand Down
2 changes: 1 addition & 1 deletion root.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive

Expand Down
2 changes: 1 addition & 1 deletion system.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive

Expand Down
2 changes: 1 addition & 1 deletion umount.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ${BASH_SOURCE[0]%/*}/common.sh
. "$(dirname `readlink -f "${BASH_SOURCE[0]}"`)"/common.sh

select-drive -q

Expand Down

0 comments on commit b891e1b

Please sign in to comment.