Browse Source

fix from-scratch installation

Ralf S. Engelschall 24 years ago
parent
commit
f33c31158a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      openpkg/openpkg.spec

+ 1 - 1
openpkg/openpkg.spec

@@ -742,7 +742,7 @@ Provides:     OpenPKG
     [ ".$ngrp" = . ] && ngrp="%{?l_ngrp}%{!?l_ngrp:%{l_fsgrp}-n}"
 
     #   determine prefix
-    prefix="%{l_prefix}"
+    [ ".$prefix" = . ] && prefix="%{l_prefix}"
     prefix=`echo "$prefix" | sed -e 's;//*;/;g' -e 's;/$;;'`
 
     #   determine user/group ids