Skip to content

Commit d8f6992

Browse files
committed
Draft.
1 parent 4699a7a commit d8f6992

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

_prog/core.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ _supplement_kernel_debPkg-dpkg_sequence() {
6767
_stop
6868
}
6969
_supplement_kernel_debPkg_sequence() {
70-
#local functionEntryPWD
71-
#functionEntryPWD="$PWD"
70+
local functionEntryPWD
71+
functionEntryPWD="$PWD"
7272

7373
_messagePlain_nominal 'init: _supplement_kernel_debPkg_sequence'
7474

@@ -77,15 +77,15 @@ _supplement_kernel_debPkg_sequence() {
7777
local currentExitStatus
7878
currentExitStatus=1
7979

80-
# ATTENTION: Usually there will be only one matching filename. Most of the reason for using a for loop is unpredictable filenames, such as the apparently used "$currentKernelName_$currentKernelName" pattern, or the "$currentKernelName"'_mainline', etc, patterns.
80+
# ATTENTION: Usually there will be only one matching filename. Most of the reason for using a for loop is unpredictable filenames, such as the apparently used "$currentKernel_version_$currentKernel_version" pattern, or the "$currentKernel_version"'_mainline', etc, patterns.
8181
# Expected to begin in the same directory as "make deb-pkg" , Debian package files expected at '../' .
82-
for currentFile in ../linux-headers-"$currentKernelName"*.deb
82+
for currentFile in ../linux-headers-"$currentKernel_version"*.deb
8383
do
8484
_messagePlain_probe_cmd "$scriptAbsoluteLocation" _supplement_kernel_debPkg-dpkg_sequence "$currentFile" "$functionEntryPWD"
8585
currentExitStatus="$?"
8686
done
8787

88-
#cd "$functionEntryPWD"
88+
cd "$functionEntryPWD"
8989
return "$currentExitStatus"
9090
}
9191
_supplement_kernel_debPkg() {

ubiquitous_bash.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ _ub_cksum_special_derivativeScripts_contents() {
3636
#export ub_setScriptChecksum_disable='true'
3737
( [[ -e "$0".nck ]] || [[ "${BASH_SOURCE[0]}" != "${0}" ]] || [[ "$1" == '--profile' ]] || [[ "$1" == '--script' ]] || [[ "$1" == '--call' ]] || [[ "$1" == '--return' ]] || [[ "$1" == '--devenv' ]] || [[ "$1" == '--shell' ]] || [[ "$1" == '--bypass' ]] || [[ "$1" == '--parent' ]] || [[ "$1" == '--embed' ]] || [[ "$1" == '--compressed' ]] || [[ "$0" == "/bin/bash" ]] || [[ "$0" == "-bash" ]] || [[ "$0" == "/usr/bin/bash" ]] || [[ "$0" == "bash" ]] ) && export ub_setScriptChecksum_disable='true'
3838
export ub_setScriptChecksum_header='2591634041'
39-
export ub_setScriptChecksum_contents='2022055273'
39+
export ub_setScriptChecksum_contents='1713267027'
4040

4141
# CAUTION: Symlinks may cause problems. Disable this test for such cases if necessary.
4242
# WARNING: Performance may be crucial here.
@@ -21186,8 +21186,8 @@ _supplement_kernel_debPkg-dpkg_sequence() {
2118621186
_stop
2118721187
}
2118821188
_supplement_kernel_debPkg_sequence() {
21189-
#local functionEntryPWD
21190-
#functionEntryPWD="$PWD"
21189+
local functionEntryPWD
21190+
functionEntryPWD="$PWD"
2119121191

2119221192
_messagePlain_nominal 'init: _supplement_kernel_debPkg_sequence'
2119321193

@@ -21196,15 +21196,15 @@ _supplement_kernel_debPkg_sequence() {
2119621196
local currentExitStatus
2119721197
currentExitStatus=1
2119821198

21199-
# ATTENTION: Usually there will be only one matching filename. Most of the reason for using a for loop is unpredictable filenames, such as the apparently used "$currentKernelName_$currentKernelName" pattern, or the "$currentKernelName"'_mainline', etc, patterns.
21199+
# ATTENTION: Usually there will be only one matching filename. Most of the reason for using a for loop is unpredictable filenames, such as the apparently used "$currentKernel_version_$currentKernel_version" pattern, or the "$currentKernel_version"'_mainline', etc, patterns.
2120021200
# Expected to begin in the same directory as "make deb-pkg" , Debian package files expected at '../' .
21201-
for currentFile in ../linux-headers-"$currentKernelName"*.deb
21201+
for currentFile in ../linux-headers-"$currentKernel_version"*.deb
2120221202
do
2120321203
_messagePlain_probe_cmd "$scriptAbsoluteLocation" _supplement_kernel_debPkg-dpkg_sequence "$currentFile" "$functionEntryPWD"
2120421204
currentExitStatus="$?"
2120521205
done
2120621206

21207-
#cd "$functionEntryPWD"
21207+
cd "$functionEntryPWD"
2120821208
return "$currentExitStatus"
2120921209
}
2121021210
_supplement_kernel_debPkg() {

0 commit comments

Comments
 (0)