]> Cypherpunks repositories - bass.git/commitdiff
Less exports
authorSergey Matveev <stargrave@stargrave.org>
Mon, 7 Jul 2025 07:46:21 +0000 (10:46 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 7 Jul 2025 07:46:21 +0000 (10:46 +0300)
build/lib/pkg-inst
build/skel/devel/pkgconf-2.1.1.do
build/skel/lang/go1.23.5.do
build/skel/lang/go1.24.0.do

index ff2ae72487180c0922f77b139201959b886eb0df2efccebf64ea15cdb3c6edea..b3bd004e51d2b6851c740684459f332a7dc7594034749c375dcf7ecb7e155668 100755 (executable)
@@ -33,7 +33,7 @@ export NAMENHASH=$($TAR xfO $skelpkg name)
     echo Bad skelpkg format, no name >&2
     exit 1
 }
-export DST="$PWD" NAMENHASH="$NAMENHASH"
+export DST="$PWD"
 if [ -d "$SKELBINS"/$ARCH/$NAMENHASH ] ; then
     [ -n "$REDO_BUILD_UUID" ] || echo skelbining $NAMENHASH... >&2
 else
index cb8a0c4fbb1befb41f7a8ba24d6510474fcd455cbf037cfcefc50f3e9326ec21..a15cd2edaa25fe5bc0e6f10d8d91d17cad96919d56271a825b8d7326f8920c32 100644 (file)
@@ -22,8 +22,9 @@ cat >$NAME-$hsh/skelpkg/$NAME-$hsh/hooks/postinst/01rc-add <<EOF2
 #!/bin/sh -e
 _localpath="\$(realpath local)"
 cat >>rc <<EOF
-export PKG_CONFIG_PATH="\$_localpath/lib/pkgconfig:\\\$PKG_CONFIG_PATH"
-export PKG_CONFIG_PATH="\$_localpath/libdata/pkgconfig:\\\$PKG_CONFIG_PATH"
+PKG_CONFIG_PATH="\$_localpath/lib/pkgconfig:\\\$PKG_CONFIG_PATH"
+PKG_CONFIG_PATH="\$_localpath/libdata/pkgconfig:\\\$PKG_CONFIG_PATH"
+export PKG_CONFIG_PATH
 EOF
 EOF2
 chmod +x $NAME-$hsh/skelpkg/$NAME-$hsh/hooks/postinst/01rc-add
index 50fc7744b803effbc5b988082bd66b66a6cfb464ceea81c69862d9f821efab80..fc6915d533869d661875ead919f4639bdac4cb45345f1f30983b6a625158e4f8 100644 (file)
@@ -30,7 +30,7 @@ cat >$NAME-$hsh/skelpkg/$NAME-$hsh/hooks/postinst/01rc-add <<EOF2
 _localpath="\$(realpath local)"
 cat >>rc <<EOF
 export GOPATH="\$_localpath/go"
-export PATH="\$_localpath/$NAME/bin:\\\$PATH"
+PATH="\$_localpath/$NAME/bin:\\\$PATH"
 EOF
 EOF2
 chmod +x $NAME-$hsh/skelpkg/$NAME-$hsh/hooks/postinst/01rc-add
index a03437c1d92d7d9ac01f5c0731b3ae4702bf69ff24a56c05b7d8a389068019a2..cc1054c96e7460f9f46f4e18d31d50223649c4726adf5cc9f5407e03be1c0128 100644 (file)
@@ -47,7 +47,7 @@ cat >$NAME-$hsh/skelpkg/$NAME-$hsh/hooks/postinst/01rc-add <<EOF2
 _localpath="\$(realpath local)"
 cat >>rc <<EOF
 export GOPATH="\$_localpath/go"
-export PATH="\$_localpath/$NAME/bin:\\\$PATH"
+PATH="\$_localpath/$NAME/bin:\\\$PATH"
 EOF
 EOF2
 chmod +x $NAME-$hsh/skelpkg/$NAME-$hsh/hooks/postinst/01rc-add