python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / rcm / fix-rcmlib-path.patch
blobe7d600d2a1f2a1c3cd03fe4a80a59c84c503b1ab
1 diff --git a/bin/lsrc.in b/bin/lsrc.in
2 index fcf5fbe..119d659 100755
3 --- a/bin/lsrc.in
4 +++ b/bin/lsrc.in
5 @@ -1,6 +1,6 @@
6 #!@SHELL@
8 -: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
9 +RCM_LIB=@rcm@/share/rcm
10 . "$RCM_LIB/rcm.sh"
12 pushdir() {
13 diff --git a/bin/mkrc.in b/bin/mkrc.in
14 index da22a63..a6bb0ad 100755
15 --- a/bin/mkrc.in
16 +++ b/bin/mkrc.in
17 @@ -1,6 +1,6 @@
18 #!@SHELL@
20 -: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
21 +RCM_LIB=@rcm@/share/rcm
22 . "$RCM_LIB/rcm.sh"
24 destination() {
25 diff --git a/bin/rcdn.in b/bin/rcdn.in
26 index ae7aad8..c210599 100755
27 --- a/bin/rcdn.in
28 +++ b/bin/rcdn.in
29 @@ -1,6 +1,6 @@
30 #!@SHELL@
32 -: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
33 +RCM_LIB=@rcm@/share/rcm
34 . "$RCM_LIB/rcm.sh"
36 remove_link() {
37 diff --git a/bin/rcup.in b/bin/rcup.in
38 index bdae664..2076f53 100755
39 --- a/bin/rcup.in
40 +++ b/bin/rcup.in
41 @@ -1,6 +1,6 @@
42 #!@SHELL@
44 -: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
45 +RCM_LIB=@rcm@/share/rcm
46 . "$RCM_LIB/rcm.sh"
48 print_ln_v() {