Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
M
mpd
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Иван Мажукин
  • mpd
  • Repository

Switch branch/tag
  • mpd
  • scripts
  • makedist.sh
Find file
BlameHistoryPermalink
  • Avuton Olrich's avatar
    Do a better job of trying to be able to run these · 0532c9ab
    Avuton Olrich authored 19 years ago
    scripts from 'anywhere'
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@4430 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    0532c9ab
makedist.sh 344 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/sh
PWD=`pwd`

## If we're not in the scripts directory
## assume the base directory.
if test "`basename $PWD`" == "scripts"; then
	cd ../
else
	MYOLDPWD=`pwd`
	cd `dirname $0`/../
fi

if test -e Makefile
then
	make distclean
fi
./autogen.sh
make
make dist

if test "`basename $PWD`" == "scripts"; then
	cd contrib/
else
	cd $MYOLDPWD
fi

Replace makedist.sh

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.