Fix `$rpath/usr/local/share/gdb'.
[nethome.git] / bin / mocksetup
index 3850ca9..86170c0 100755 (executable)
@@ -129,7 +129,7 @@ for r in $l;do
   rm -f $rpath/usr/local/share/gdb
   if ! $u;then
     mkdir -p $rpath/usr/local/share
-    ln -s ../../../share/gdb $rpath/usr/local/share/gdb
+    ln -s ../../share/gdb $rpath/usr/local/share/gdb
   fi
 
   # Old systems incl. RHEL-6 do not feature it.