summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks/move-sbin.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-07 15:04:13 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-07 15:04:13 +0200
commit51f1b4ec48d53e01f219d3285a5f0acdb7fb6422 (patch)
tree61a5e9eadd0eb699a7d66264ee6d3dcb427af234 /pkgs/build-support/setup-hooks/move-sbin.sh
parentab04b7d0bba24d068ee57c25050ecf73a428c552 (diff)
Automatically move stuff in lib64 to lib
Diffstat (limited to 'pkgs/build-support/setup-hooks/move-sbin.sh')
-rw-r--r--pkgs/build-support/setup-hooks/move-sbin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/move-sbin.sh b/pkgs/build-support/setup-hooks/move-sbin.sh
index 5db97afbbb635..cc51c27cafdf8 100644
--- a/pkgs/build-support/setup-hooks/move-sbin.sh
+++ b/pkgs/build-support/setup-hooks/move-sbin.sh
@@ -6,7 +6,7 @@ fixupOutputHooks+=(_moveSbin)
 
 _moveSbin() {
     if [ "$dontMoveSbin" = 1 ]; then return; fi
-    if ! [ -e "$prefix/sbin" ]; then return; fi
+    if [ ! -e "$prefix/sbin" -o -L "$prefix/sbin" ]; then return; fi
     echo "moving $prefix/sbin/* to $prefix/bin"
     mkdir -p $prefix/bin
     shopt -s dotglob