mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
make.sh: Move PS1 to the header
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
6
make.sh
6
make.sh
@@ -45,6 +45,8 @@ ZSTD_OPT="-T0 --ultra -22"
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
PS1='\u:\w$ '
|
||||
|
||||
# Remember if the shell is interactive or not
|
||||
if [ -t 0 ] && [ -t 1 ]; then
|
||||
INTERACTIVE=true
|
||||
@@ -712,8 +714,6 @@ lfsmake2() {
|
||||
lfsmakecommoncheck $*
|
||||
[ $? == 1 ] && return 0
|
||||
|
||||
local PS1='\u:\w$ '
|
||||
|
||||
enterchroot \
|
||||
bash -x -c "cd /usr/src/lfs && \
|
||||
make -f $* \
|
||||
@@ -732,8 +732,6 @@ ipfiredist() {
|
||||
lfsmakecommoncheck $*
|
||||
[ $? == 1 ] && return 0
|
||||
|
||||
local PS1='\u:\w$ '
|
||||
|
||||
enterchroot \
|
||||
bash -x -c "cd /usr/src/lfs && make -f $* LFS_BASEDIR=/usr/src dist" \
|
||||
>> ${LOGFILE} 2>&1 &
|
||||
|
||||
Reference in New Issue
Block a user