Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kzidane
Copy link
Member

@kzidane kzidane commented Jan 25, 2017

# make install
rm -rf "build"
mkdir -p "build/usr/include" "build/usr/lib" "build/usr/share/man/man3" "build/usr/src"
gcc -c -fPIC -std=c99 -Wall -Werror -o "build/cs50.o" "src/cs50.c"
gcc -o "build/usr/lib/libcs50.so" -shared "build/cs50.o"
rm -f "build/cs50.o"
cp "src/cs50.h" "build/usr/include"
cp "src/cs50.c" "build/usr/src"
cp -r docs/* "build/usr/share/man/man3"
find "build" -type d -exec chmod 0755 {} +
find "build" -type f -exec chmod 0644 {} +
cp "build/usr/include/*" /usr/include
cp: cannot stat ‘build/usr/include/*’: No such file or directory
make: *** [install] Error 1

Bash performs filename expansion on unquoted command-line arguments.

http://www.tldp.org/LDP/abs/html/globbingref.html

cc @dmalan @glennholloway

@dmalan
Copy link
Member

dmalan commented Jan 25, 2017

:shipit:

@kzidane kzidane merged commit 5d7b061 into master Jan 25, 2017
@kzidane kzidane deleted the globbing branch January 25, 2017 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants