[dslinux-devel] bash instead of sh in Makefile.xsh

Nanomad condellog at gmail.com
Wed Jun 6 20:35:25 CEST 2007


(sorry for the cut)
Ok, I agree, but i'm 110% sure that bash without --posix will just
ignore environment's PS1 when called from command line. Cant we do
something like:

ifeq($(SHELL),/bin/bash)
  @env PS1="-xsh- \w > " $SHELL --posix
else
  @env PS1="-xsh- \w > " $SHELL
endif

in Makefile.xsh?

ps. code above tried and not working for syntax errors (dunno which,
never wrote too many conditional Makefiles) :(
-- 
Official Ubuntu GNU/Linux Translator
Currently Running:
ZenWalk Linux (Slackware) on Desktop PC (P4 1.4Ghz)
Ubuntu "Feisty" on Laptop (Centrino 2Ghz)



More information about the dslinux-devel mailing list