summaryrefslogtreecommitdiff
path: root/libps/tty.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-08-23 10:09:34 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-08-25 15:27:01 +0200
commit7755215040bca03ac929dfd67fdf2c7dbd2068ea (patch)
tree242154856a6c04e34a0bc1cdde65bb42046f115d /libps/tty.c
parent25a628b3403249499ba3f87ab177c441c8f432ee (diff)
utils: escape arguments in fakeroot.sh
fakeroot.sh uses /bin/sh to first change the working directory and then execute the given program in the fakeroot context. But the arguments given on the command line were not properly escaped: % '/bin/sh' '-c' 'echo $0' /bin/sh % fakeroot-tcp '/bin/sh' '-c' 'echo $0' /bin/sh % fakeroot-hurd '/bin/sh' '-c' 'echo $0' <empty line> % fakeroot-hurd-fixed '/bin/sh' '-c' 'echo $0' /bin/sh * utils/fakeroot.sh: Escape arguments handed to /bin/sh so that they are not evaluated prematurely.
Diffstat (limited to 'libps/tty.c')
0 files changed, 0 insertions, 0 deletions