Sfoglia il codice sorgente

avoid trouble-generating change dir in .bashrc

Ralf S. Engelschall 24 anni fa
parent
commit
61a38d22a7
2 ha cambiato i file con 35 aggiunte e 2 eliminazioni
  1. 33 0
      openpkg/dot.bashrc
  2. 2 2
      openpkg/openpkg.spec

+ 33 - 0
openpkg/dot.bashrc

@@ -0,0 +1,33 @@
+##
+##  @l_prefix@/.bashrc -- Local Bash Profile
+##
+
+#   provide user and host information in default prompt
+PS1="\u@\h\$ "
+
+#   environment permissions
+umask 022
+ulimit -c 16384
+
+#   history functionality
+shopt -s histappend
+HISTSIZE=100
+HISTFILESIZE=100
+
+#   various additional variables
+export TMPDIR=/tmp
+export TEMPDIR=$TMPDIR
+export BLOCKSIZE=1024
+
+#   suck in the whole Bourne-Shell 
+#   environment of OpenPKG hierarchy
+eval `@l_prefix@/etc/rc --eval all env`
+
+#   make sure some non-standard but usually
+#   important executable directories are active
+test -d /usr/ccs/bin   && PATH="$PATH:/usr/ccs/bin"
+test -d /usr/local/bin && PATH="$PATH:/usr/local/bin"
+
+#   path to us
+BASH_ENV=$HOME/.bashrc
+

+ 2 - 2
openpkg/openpkg.spec

@@ -39,8 +39,8 @@
 #   o any cc(1)
 
 #   the package version and release
-%define       V_openpkg 20011227
-%define       R_openpkg 20011227
+%define       V_openpkg 20020216
+%define       R_openpkg 20020216
 
 #   the used software versions
 %define       V_rpm     4.0.2