mirror of
https://github.com/sbopkg/sbopkg
synced 2025-02-13 20:48:06 +01:00
Properly quote $CWD.
$CWD stores the directory the user started sbopkg from. We cannot make assumptions about it not containing spaces, so proper quoting is needed. Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
42d33db44b
commit
66c52845b6
1 changed files with 2 additions and 2 deletions
|
@ -2933,7 +2933,7 @@ check_for_latest() {
|
|||
if [[ $SBOPKGUP ]]; then
|
||||
cd $OUTPUT
|
||||
wget $WGETFLAGS $NEWDLPKG
|
||||
cd $CWD
|
||||
cd "$CWD"
|
||||
crunch_fmt \
|
||||
"######################################################\
|
||||
\nDownload complete. The downloaded file is located at:\
|
||||
|
@ -3041,7 +3041,7 @@ cleanup() {
|
|||
rm -f $PIDFILE
|
||||
|
||||
# Back to the directory the user started sbopkg in
|
||||
cd $CWD
|
||||
cd "$CWD"
|
||||
}
|
||||
|
||||
control_c() {
|
||||
|
|
Loading…
Add table
Reference in a new issue