diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-30 18:27:24 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-30 18:27:24 -0500 |
commit | 63467291c9890288e983abae3c72e112aa028c66 (patch) | |
tree | 9f9615db701f09d95f791c9928b8f84b07f47506 /src | |
parent | 42d3216254bb31c7a43c64df3b51bbb05c57cbd4 (diff) |
librechroot: use PATH to find chcleanup
Diffstat (limited to 'src')
-rwxr-xr-x | src/chroot-tools/librechroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index e93c57e..6594f15 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -121,7 +121,7 @@ main() { ;; clean_pacman) msg "Intelligently cleaning packages" - cp -a "$(dirname $0)/chcleanup" "${copydir}/clean" + cp -a "$(which chcleanup)" "${copydir}/clean" echo '#!/bin/bash' > "${copydir}/cleanstrap" echo 'mkdir /build' >> "${copydir}/cleanstrap" echo 'cd /build; /clean' >> "${copydir}/cleanstrap" |